Bagikan melalui


JobServer.IsCpuPollingEnabled Property

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

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property IsCpuPollingEnabled As Boolean
    Get
    Set
'Usage
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)

Property Value

Type: 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.