dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlError Class / ConstraintName Property

In This Topic
    ConstraintName Property (PgSqlError)
    In This Topic
    Gets the name of the constraint, the error is associated with.
    Syntax
    'Declaration
     
    Public ReadOnly Property ConstraintName As String
    public string ConstraintName {get;}

    Property Value

    The name of the constraint, the error is associated with, if the error is associated with a specific constraint; otherwise, an empty string.
    Remarks
    Indexes are treated as constraints in this case.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also