Export (0) Print
Expand All

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, 

The ICheckConstraint type exposes the following members.

Public propertyIsCheckedGets a value that indicates whether the CHECK constraint applies to new data only or also to existing data.
Public propertyIsEnabledGets a value that indicates whether the CHECK constraint is enabled.
Public propertyIsSystemNamedGets a value that indicates whether the constraint is named by the system or by the user. (Inherited from IConstraint.)
Public propertyNameGets the name of the metadata object. (Inherited from IMetadataObject.)
Public propertyNotForReplicationGets a value that indicates whether the check constraint is not for replication.
Public propertyParentGets the ITabular object that is the parent of this object. (Inherited from IConstraint.)
Public propertyTextGets the Transact-SQL statement that defines the CHECK constraint.
Public propertyTypeGets a ConstraintType value that indicates the constraint type. (Inherited from IConstraint.)

Public methodAccept<T>Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft