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

成员

成员名称 说明
Always Value = 3. The action is always executed regardless of the success or failure of the job step.
Never Value = 0. The action is never executed regardless of the success or failure of the job step.
OnFailure Value = 2. The action is only executed after the job step has completed with failure.
OnSuccess Value = 1. The action is only executed after the job step has completed with success.

注释

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

请参阅

参考

Microsoft.SqlServer.Management.Smo.Agent 命名空间