Share via


ICheckConstraint.IsEnabled Property

Gets 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
ReadOnly Property IsEnabled As Boolean
    Get
'Usage
Dim instance As ICheckConstraint
Dim value As Boolean

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

Property Value

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