共用方式為


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。)

上層