ConstraintType Enumeration

 

Specifies SQL Server constraint types.

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

public enum ConstraintType

Member nameDescription
Check

A table or column CHECK constraint.

ForeignKey

A table FOREIGN KEY constraint.

PrimaryKey

A table PRIMARY KEY constraint.

Unique

A table UNIQUE constraint.

Return to top
Show: