Compartir a través de


LastRunOutcome Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastRunOutcome As CompletionResult
    Get
'Uso
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

Valor de la propiedad

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