PlanGuide.IsDisabled Property

Indicates whether a plan guide is disabled.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsDisabled As Boolean
    Get
    Set
'Usage
Dim instance As PlanGuide
Dim value As Boolean

value = instance.IsDisabled

instance.IsDisabled = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsDisabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsDisabled {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsDisabled : bool with get, set
function get IsDisabled () : boolean
function set IsDisabled (value : boolean)

Property Value

Type: System.Boolean
Boolean