JobServer.IsCpuPollingEnabled-Eigenschaft
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(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property IsCpuPollingEnabled As Boolean
Get
Set
'Usage
Dim instance As JobServer
Dim value As Boolean
value = instance.IsCpuPollingEnabled
instance.IsCpuPollingEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public bool IsCpuPollingEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property bool IsCpuPollingEnabled {
bool get ();
void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IsCpuPollingEnabled : bool with get, set
function get IsCpuPollingEnabled () : boolean
function set IsCpuPollingEnabled (value : boolean)
Eigenschaftswert
Typ: 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.
Beispiele
Automatisierte Administrationstasks (SQL Server-Agent)
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Agent-Namespace
Andere Ressourcen
Planen von automatischen, administrativen Tasks im SQL Server-Agent
Gespeicherte Prozeduren des SQL Server-Agents (Transact-SQL)