LastRunOutcome propriété
Gets the result of the job from the last time it completed execution.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastRunOutcome As CompletionResult
Get
'Utilisation
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
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo.Agent. . :: . .CompletionResult
A CompletionResult object value that specifies the result of the last time the job completed executing.
Voir aussi