JobServer.AgentShutdownWaitTime Propiedad
Gets or sets the time that SQL Server Agent waits for jobs to complete execution before shutting down.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property AgentShutdownWaitTime As Integer
Get
Set
'Uso
Dim instance As JobServer
Dim value As Integer
value = instance.AgentShutdownWaitTime
instance.AgentShutdownWaitTime = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public int AgentShutdownWaitTime { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property int AgentShutdownWaitTime {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member AgentShutdownWaitTime : int with get, set
function get AgentShutdownWaitTime () : int
function set AgentShutdownWaitTime (value : int)
Valor de la propiedad
Tipo: System.Int32
An Int32 value that specifies the time that SQL Server Agent waits before shutting down in seconds.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent
Otros recursos
Tareas administrativas automatizadas (Agente SQL Server)
Procedimientos almacenados del Agente SQL Server (Transact-SQL)