Поделиться через


Свойство AgentShutdownWaitTime

Gets or sets the time that SQL Server Agent waits for jobs to complete execution before shutting down.

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public Property AgentShutdownWaitTime As Integer
    Get
    Set
'Применение
Dim instance As JobServer
Dim value As Integer

value = instance.AgentShutdownWaitTime

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

Значение свойства

Тип System. . :: . .Int32
An Int32 value that specifies the time that SQL Server Agent waits before shutting down in seconds.