共用方式為


CompletionResult Enumeration

The CompletionResult enumeration is a list of constant values that specify the status on completion of a job or job step.**

命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration CompletionResult
public enum CompletionResult
public enum class CompletionResult
public enum CompletionResult
public enum CompletionResult

Members

Member name Description
Cancelled The job or job step was canceled.
Failed The job or job step completed with failure.
InProgress The job or job step is still in progress.
Retry The job or job step is waiting to be retried.
Succeeded The job or job step completed successfully.
Unknown The status of the job or job step is unknown.

備註

The CompletionResult enumeration class is served by the LastRunOutcome and LastRunOutcome properties.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo.Agent Namespace