Condividi tramite


Interfaccia ICheckConstraint

Represents a CHECK constraint.

Spazio dei nomi  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Sintassi

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

Nel tipo ICheckConstraint sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica IsChecked Gets a value that indicates whether the CHECK constraint applies to new data only or also to existing data.
Proprietà pubblica IsEnabled Gets a value that indicates whether the CHECK constraint is enabled.
Proprietà pubblica IsSystemNamed Gets a value that indicates whether the constraint is named by the system or by the user. Ereditato da IConstraint.
Proprietà pubblica Name Gets the name of the metadata object. Ereditato da IMetadataObject.
Proprietà pubblica NotForReplication Gets a value that indicates whether the check constraint is not for replication.
Proprietà pubblica Parent Gets the ITabular object that is the parent of this object. Ereditato da IConstraint.
Proprietà pubblica Text Gets the Transact-SQL statement that defines the CHECK constraint.
Proprietà pubblica Type Gets a ConstraintType value that indicates the constraint type. Ereditato da IConstraint.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Accept< (Of < <' (T> ) > > ) Accepts a visit from the specified IMetadataObjectVisitor<(Of <(<'T>)>)> object. Ereditato da IMetadataObject.

In alto