JobStep.LastRunOutcome Property
SQL Server 2008 R2
Gets the outcome of the job step when it was last executed.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)] public CompletionResult LastRunOutcome { get; }
Property Value
Type: Microsoft.SqlServer.Management.Smo.Agent.CompletionResultA CompletionResult object value that specifies the outcome of the job when it was last executed.
