Udostępnij za pośrednictwem


JobStep.LastRunOutcome Property

Gets the outcome of the job step when it was last executed.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property LastRunOutcome As CompletionResult
[SfcPropertyAttribute] 
public CompletionResult LastRunOutcome { get; }
[SfcPropertyAttribute] 
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 outcome of the job when it was last executed.

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.