Partilhar via


Interface ICheckConstraint

Represents a CHECK constraint.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (em Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxe

'Declaração
Public Interface ICheckConstraint _
    Inherits IConstraint, IMetadataObject
'Uso
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

O tipo ICheckConstraint expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública IsChecked Gets a value that indicates whether the CHECK constraint applies to new data only or also to existing data.
Propriedade pública IsEnabled Gets a value that indicates whether the CHECK constraint is enabled.
Propriedade pública IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (Herdado de IConstraint.)
Propriedade pública Name Gets the name of the metadata object. (Herdado de IMetadataObject.)
Propriedade pública NotForReplication Gets a value that indicates whether the check constraint is not for replication.
Propriedade pública Parent Gets the ITabular object that is the parent of this object. (Herdado de IConstraint.)
Propriedade pública Text Gets the Transact-SQL statement that defines the CHECK constraint.
Propriedade pública Type Gets a ConstraintType value that indicates the constraint type. (Herdado de IConstraint.)

Início

Métodos

  Nome Descrição
Método público Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Herdado de IMetadataObject.)

Início