다음을 통해 공유


StepCompletionAction Enumeration

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

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

구문

‘선언
Public Enumeration StepCompletionAction
public enum StepCompletionAction
public enum class StepCompletionAction
public enum StepCompletionAction
public enum StepCompletionAction

Members

Member name Description
GoToNextStep When the referenced job step completes the next job step is executed.
GoToStep When the referenced job step completes the specified job step is executed.
QuitWithFailure When the referenced job step completes the job completes execution with a status of failure.
QuitWithSuccess When 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. However, if you want to jump to a job step that is out of sequence, you will have to use 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.

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.SqlServer.Management.Smo.Agent Namespace