Job.LastRunOutcome Property

Gets the result of the job from the last time it completed execution.

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

[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public CompletionResult LastRunOutcome { get; }

Property Value

Type: Microsoft.SqlServer.Management.Smo.Agent.CompletionResult
A CompletionResult object value that specifies the result of the last time the job completed executing.

Community Additions

ADD
Show: