Compartir a través de


Interfaz ICheckConstraint

Represents a CHECK constraint.

Espacio de nombres:  Microsoft.SqlServer.Management.SqlParser.Metadata
Ensamblado:  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Sintaxis

'Declaración
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

El tipo ICheckConstraint expone los siguientes miembros.

Propiedades

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

Arriba

Métodos

  Nombre Descripción
Método público Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Se hereda de IMetadataObject.)

Arriba