Partager via


Propriété PlanGuide.IsDisabled

Indicates whether a plan guide is disabled.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsDisabled As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

Type : System.Boolean
True whether a plan guide is disabled; otherwise, false.

Voir aussi

Référence

PlanGuide Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Conception et implémentation des repères de plan

Repères de plan