The JobExecutionStatus enumeration is a list of constant values that specify the execution status of a job or job step.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)
语法
声明
Public Enumeration JobExecutionStatus
public enum JobExecutionStatus
public enum class JobExecutionStatus
public enum JobExecutionStatus
public enum JobExecutionStatus
Members
Member name | Description |
---|---|
BetweenRetries | Value = 3. The job is waiting to retry after a failure. |
Executing | Value = 1. The job is being run. |
Idle | Value = 4. The job is idle. |
PerformingCompletionAction | Value = 7. The job is in the final completion stage. |
Suspended | Value = 5. The job is suspended. |
WaitingForStepToFinish | Value = 6. The job is waiting for another branch of logic to finish before it can continue. |
WaitingForWorkerThread | Value = 2. The job is waiting for a worker thread. |
备注
The JobExecutionStatus enumeration class is served by the CurrentRunStatus property and EnumJobs method.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。