共用方式為


JobOutcome 列舉

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 (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration JobOutcome
'用途
Dim instance As JobOutcome
public enum JobOutcome
public enum class JobOutcome
type JobOutcome
public enum JobOutcome

成員

成員名稱 說明
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.