ICheckConstraint 接口

Represents a CHECK constraint.

命名空间:  Microsoft.SqlServer.Management.SqlParser.Metadata
程序集:  Microsoft.SqlServer.Management.SqlParser(在 Microsoft.SqlServer.Management.SqlParser.dll 中)

语法

声明
Public Interface ICheckConstraint _
    Inherits IConstraint, IMetadataObject
用法
Dim instance As ICheckConstraint
public interface ICheckConstraint : IConstraint, 
    IMetadataObject
public interface class ICheckConstraint : IConstraint, 
    IMetadataObject
type ICheckConstraint =  
    interface
        interface IConstraint
        interface IMetadataObject
    end
public interface ICheckConstraint extends IConstraint, IMetadataObject

ICheckConstraint 类型公开以下成员。

属性

  名称 说明
公共属性 IsChecked Gets a value that indicates whether the CHECK constraint applies to new data only or also to existing data.
公共属性 IsEnabled Gets a value that indicates whether the CHECK constraint is enabled.
公共属性 IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (从 IConstraint 继承。)
公共属性 Name Gets the name of the metadata object. (从 IMetadataObject 继承。)
公共属性 NotForReplication Gets a value that indicates whether the check constraint is not for replication.
公共属性 Parent Gets the ITabular object that is the parent of this object. (从 IConstraint 继承。)
公共属性 Text Gets the Transact-SQL statement that defines the CHECK constraint.
公共属性 Type Gets a ConstraintType value that indicates the constraint type. (从 IConstraint 继承。)

页首

方法

  名称 说明
公共方法 Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (从 IMetadataObject 继承。)

页首