Partager via


Interface ICheckConstraint

Represents a CHECK constraint.

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Public Interface ICheckConstraint _
    Inherits IConstraint, IMetadataObject
'Utilisation
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

Le type ICheckConstraint expose les membres suivants.

Propriétés

  Nom Description
Propriété publique IsChecked Gets a value that indicates whether the CHECK constraint applies to new data only or also to existing data.
Propriété publique IsEnabled Gets a value that indicates whether the CHECK constraint is enabled.
Propriété publique IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (hérité de IConstraint.)
Propriété publique Name Gets the name of the metadata object. (hérité de IMetadataObject.)
Propriété publique NotForReplication Gets a value that indicates whether the check constraint is not for replication.
Propriété publique Parent Gets the ITabular object that is the parent of this object. (hérité de IConstraint.)
Propriété publique Text Gets the Transact-SQL statement that defines the CHECK constraint.
Propriété publique Type Gets a ConstraintType value that indicates the constraint type. (hérité de IConstraint.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (hérité de IMetadataObject.)

Haut de la page