Поделиться через


Интерфейс 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.)

В начало