共用方式為


PlanGuide.IsDisabled 屬性

Indicates whether a plan guide is disabled.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsDisabled As Boolean 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

PlanGuide 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

設計和實作計畫指南

計畫指南