Share via


IForeignKeyConstraint.IsEnabled Property

Gets a value that indicates whether the FOREIGN KEY 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 IForeignKeyConstraint
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 FOREIGN KEY constraint is enabled; otherwise, false.