Share via


ConstraintType Enumeration

Specifies SQL Server constraint types.

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

Syntax

'Declaration
Public Enumeration ConstraintType
'Usage
Dim instance As ConstraintType
public enum ConstraintType
public enum class ConstraintType
type ConstraintType
public enum ConstraintType

Members

Member name Description
Check A table or column CHECK constraint.
ForeignKey A table FOREIGN KEY constraint.
PrimaryKey A table PRIMARY KEY constraint.
Unique A table UNIQUE constraint.

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace