다음을 통해 공유


CompletionAction 열거형

The CompletionAction enumeration is a list of constant values that specify the circumstances when a job completes after which another action is executed.

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

구문

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

멤버

멤버 이름 설명
Never Value = 0. The action is never executed regardless of the success or failure of the job step.
OnSuccess Value = 1. The action is only executed after the job step has completed with success.
OnFailure Value = 2. The action is only executed after the job step has completed with failure.
Always Value = 3. The action is always executed regardless of the success or failure of the job step.

주의

The CompletionAction enumeration class is served by the EnumJobs the EnumTargetServers methods, and the EmailLevel, NetSendLevel, and PageLevel properties.