共用方式為


JobOutcome Enumeration

The JobOutcome enumeration is a list of constant values that specify the outcome after running a job.

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

語法

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

Members

Member name Description
Cancelled The job was canceled.
Failed The job failed.
InProgress The job is currently running.
Succeeded The job succeeded.
Unknown The outcome is unknown.

備註

The JobOutcome enumeration class is served by the LastRunOutcome property.

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