CompletionAction Enumeration
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 (in microsoft.sqlserver.sqlenum.dll)
語法
'宣告
Public Enumeration CompletionAction
public enum CompletionAction
public enum class CompletionAction
public enum CompletionAction
public enum CompletionAction
Members
Member name | Description |
---|---|
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.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。