ICheckConstraint Interface

 

Represents a CHECK constraint.

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

public interface ICheckConstraint : IConstraint, IMetadataObject

NameDescription
System_CAPS_pubpropertyIsChecked

Gets a value that indicates whether the CHECK constraint applies to new data only or also to existing data.

System_CAPS_pubpropertyIsEnabled

Gets a value that indicates whether the CHECK constraint is enabled.

System_CAPS_pubpropertyIsSystemNamed

Gets a value that indicates whether the constraint is named by the system or by the user.(Inherited from IConstraint.)

System_CAPS_pubpropertyName

Gets the name of the metadata object.(Inherited from IMetadataObject.)

System_CAPS_pubpropertyNotForReplication

Gets a value that indicates whether the check constraint is not for replication.

System_CAPS_pubpropertyParent

Gets the ITabular object that is the parent of this object.(Inherited from IConstraint.)

System_CAPS_pubpropertyText

Gets the Transact-SQL statement that defines the CHECK constraint.

System_CAPS_pubpropertyType

Gets a ConstraintType value that indicates the constraint type.(Inherited from IConstraint.)

NameDescription
System_CAPS_pubmethodAccept<T>(IMetadataObjectVisitor<T>)

Accepts a visit from the specified IMetadataObjectVisitor<T> object.(Inherited from IMetadataObject.)

Return to top
Show: