共用方式為


IsDisabled 屬性

Indicates whether a plan guide is disabled.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property IsDisabled As Boolean
    Get
    Set
'用途
Dim instance As PlanGuide
Dim value As Boolean

value = instance.IsDisabled

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

屬性值

型別:System. . :: . .Boolean
Boolean