Freigeben über


ICheckConstraint-Schnittstelle

Represents a CHECK constraint.

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

Syntax

'Declaration
Public Interface ICheckConstraint _
    Inherits IConstraint, IMetadataObject
'Usage
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

Der ICheckConstraint-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft IsChecked Gets a value that indicates whether the CHECK constraint applies to new data only or also to existing data.
Öffentliche Eigenschaft IsEnabled Gets a value that indicates whether the CHECK constraint is enabled.
Öffentliche Eigenschaft IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. (Geerbt von IConstraint.)
Öffentliche Eigenschaft Name Gets the name of the metadata object. (Geerbt von IMetadataObject.)
Öffentliche Eigenschaft NotForReplication Gets a value that indicates whether the check constraint is not for replication.
Öffentliche Eigenschaft Parent Gets the ITabular object that is the parent of this object. (Geerbt von IConstraint.)
Öffentliche Eigenschaft Text Gets the Transact-SQL statement that defines the CHECK constraint.
Öffentliche Eigenschaft Type Gets a ConstraintType value that indicates the constraint type. (Geerbt von IConstraint.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. (Geerbt von IMetadataObject.)

Zum Anfang