다음을 통해 공유


JobExecutionStatus 열거형

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(Microsoft.SqlServer.SqlEnum.dll)

구문

‘선언
Public Enumeration JobExecutionStatus
‘사용 방법
Dim instance As JobExecutionStatus
public enum JobExecutionStatus
public enum class JobExecutionStatus
type JobExecutionStatus
public enum JobExecutionStatus

멤버

멤버 이름 설명
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.

참고 항목

참조

Microsoft.SqlServer.Management.Smo.Agent 네임스페이스