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
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastRunOutcome As CompletionResult
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)]
public CompletionResult LastRunOutcome { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)]
public:
property CompletionResult LastRunOutcome {
CompletionResult get ();
}
/** @property */
public CompletionResult get_LastRunOutcome ()
public function get LastRunOutcome () : CompletionResult
Property Value
A CompletionResult object value that specifies the result of the last time the job completed executing.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
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.
See Also