Share via


IConstraint.Type Property

Gets a ConstraintType value that indicates the constraint type.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property Type As ConstraintType
    Get
'Usage
Dim instance As IConstraint
Dim value As ConstraintType

value = instance.Type
ConstraintType Type { get; }
property ConstraintType Type {
    ConstraintType get ();
}
abstract Type : ConstraintType
function get Type () : ConstraintType

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.ConstraintType
One of the enumeration values that indicates the constraint type.