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

In This Topic
    ConstraintName Property (PgSqlException)
    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.
    See Also