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)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastRunOutcome As CompletionResult
Get
'Usage
Dim instance As Job
Dim value As CompletionResult
value = instance.LastRunOutcome
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public CompletionResult LastRunOutcome { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property CompletionResult LastRunOutcome {
CompletionResult get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Expensive)>]
member LastRunOutcome : CompletionResult
function get LastRunOutcome () : CompletionResult
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.
See Also