문서를 영문으로 보려면 영문 확인란을 선택하세요. 마우스 포인터를 텍스트 위로 이동시켜 팝업 창에서 영문 텍스트를 표시할 수도 있습니다.
번역
영문

StepCompletionAction 열거형

The StepCompletionAction enumeration contains values that specify the action taken on completion of a job step.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Agent
어셈블리:  Microsoft.SqlServer.SqlEnum(Microsoft.SqlServer.SqlEnum.dll)

public enum StepCompletionAction

멤버 이름설명
GoToNextStepWhen the referenced job step completes the next job step is executed.
GoToStepWhen the referenced job step completes the specified job step is executed.
QuitWithFailureWhen the referenced job step completes the job completes execution with a status of failure.
QuitWithSuccessWhen the referenced job step completes the job completes execution with a status of success.

If your job is designed so that after performing one job step successfully it moves on to perform the next job step in the sequence, you should set OnSuccessAction to GoToNextStep. If you want to jump to a job step that is out of sequence, you will have to use [F:Microsoft.SqlServer.Management.Smo.Agent.StepCompletionAction.GoToStep,] and then specify which job step number to jump to. For example, if a job step fails, you might want to jump to another job step to manage the failure. To do this, set the OnFailAction to GoToStep and then set the OnFailStep to the integer value that matches the ID property of the JobStep.

The StepCompletionAction enumeration class is served by the OnSuccessAction property and the OnFailAction property.

커뮤니티 추가 항목

추가
표시: