Export (0) Print
Expand All

ConstraintType Enumeration

 

Applies To: SQL Server 2016 Preview

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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft