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

ConstraintName Property (PgSqlException)
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.
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