JobOutcome Enumeration

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

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

public enum JobOutcome
public enum JobOutcome
public enum JobOutcome

Member nameDescription
CancelledThe job was canceled.
FailedThe job failed.
InProgressThe job is currently running.
SucceededThe job succeeded.
UnknownThe 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.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Community Additions