Freigeben über


JobServer.IdleCpuDuration-Eigenschaft

Gets or sets the length of time in seconds that the processor must have to maintain the CPU idle percentage value before the processor is considered idle.

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 IdleCpuDuration As Integer 
    Get 
    Set
'Usage
Dim instance As JobServer 
Dim value As Integer 

value = instance.IdleCpuDuration

instance.IdleCpuDuration = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int IdleCpuDuration { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property int IdleCpuDuration {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member IdleCpuDuration : int with get, set
function get IdleCpuDuration () : int 
function set IdleCpuDuration (value : int)

Eigenschaftswert

Typ: System.Int32
An Int32 value that specifies the time in seconds that the processor must have to maintain the CPU idle percentage value.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobServer Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

Gespeicherte Prozeduren des SQL Server-Agents (Transact-SQL)