Export (0) Print
Expand All
Expand Minimize

CompletionResult Enumeration

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.SqlEnum (in Microsoft.SqlServer.SqlEnum.dll)

public enum CompletionResult

Member nameDescription
CancelledThe job or job step was canceled.
FailedThe job or job step completed with failure.
InProgressThe job or job step is still in progress.
RetryThe job or job step is waiting to be retried.
SucceededThe job or job step completed successfully.
UnknownThe status of the job or job step is unknown.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft