Language
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Enumeration CompletionResult
'Usage
Dim instance As CompletionResult
public enum CompletionResult
public enum class CompletionResult
type 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. |
Remarks
The CompletionResult enumeration class is served by the LastRunOutcome and LastRunOutcome properties.