共用方式為


CompletionResult 列舉型別

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

語法

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

成員

成員名稱 描述
Failed The job or job step completed with failure.
Succeeded The job or job step completed successfully.
Retry The job or job step is waiting to be retried.
Cancelled The job or job step was canceled.
InProgress The job or job step is still in progress.
Unknown The status of the job or job step is unknown.

備註

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