共用方式為


IsCpuPollingEnabled 屬性

Gets or sets the Boolean property value that specifies whether CPU polling is enabled.

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

語法

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

value = instance.IsCpuPollingEnabled

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

屬性值

型別:System. . :: . .Boolean
A Boolean value that specifies whether CPU polling is enabled.
If True, CPU polling is enabled.
If False (default), CPU polling is disabled.