Udostępnij za pośrednictwem


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)

Syntax

'Deklaracja
Public Enumeration JobOutcome
public enum JobOutcome
public enum class JobOutcome
public enum JobOutcome
public enum JobOutcome

Members

Member name Description
Cancelled The job was canceled.
Failed The job failed.
InProgress The job is currently running.
Succeeded The job succeeded.
Unknown The outcome is unknown.

Remarks

The JobOutcome enumeration class is served by the LastRunOutcome property.

Platforms

Development Platforms

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

Target Platforms

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