Share via


IMutableCheckConstraint Interface

Represents a mutable SQL Server CHECK constraint.

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

Syntax

'Declaration
Public Interface IMutableCheckConstraint _
    Inherits ICheckConstraint, IMutableConstraint, IConstraint, IMutableMetadataObject,  _
    IMetadataObject
'Usage
Dim instance As IMutableCheckConstraint
public interface IMutableCheckConstraint : ICheckConstraint, 
    IMutableConstraint, IConstraint, IMutableMetadataObject, IMetadataObject
public interface class IMutableCheckConstraint : ICheckConstraint, 
    IMutableConstraint, IConstraint, IMutableMetadataObject, IMetadataObject
type IMutableCheckConstraint =  
    interface 
        interface ICheckConstraint 
        interface IMutableConstraint 
        interface IConstraint 
        interface IMutableMetadataObject 
        interface IMetadataObject 
    end
public interface IMutableCheckConstraint extends ICheckConstraint, IMutableConstraint, IConstraint, IMutableMetadataObject, IMetadataObject

The IMutableCheckConstraint type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Accept<T> Accepts a visit from the specified IMetadataObjectVisitor<T> object. (Inherited from IMetadataObject.)

Top

See Also

Reference

Microsoft.SqlServer.Management.SqlParser.Metadata Namespace