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
 

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