Share via


IMutableCheckConstraint.IsEnabled Property

Gets or sets a value that indicates whether the CHECK constraint is enabled.

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

Syntax

'Declaration
Property IsEnabled As Boolean
    Get
    Set
'Usage
Dim instance As IMutableCheckConstraint
Dim value As Boolean

value = instance.IsEnabled

instance.IsEnabled = value
bool IsEnabled { get; set; }
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
abstract IsEnabled : bool with get, set
function get IsEnabled () : boolean
function set IsEnabled (value : boolean)

Property Value

Type: System.Boolean
true if the constraint is enabled; otherwise, false.

Implements

ICheckConstraint.IsEnabled