This topic has not yet been rated - Rate this topic

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

The ICheckConstraint type exposes the following members.

  NameDescription
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.)
Top
  NameDescription
Public methodAccept<T>Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.