LastRunOutcome 屬性
Gets the result of the job from the last time it completed execution.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastRunOutcome As CompletionResult
Get
'用途
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
屬性值
型別:Microsoft.SqlServer.Management.Smo.Agent. . :: . .CompletionResult
A CompletionResult object value that specifies the result of the last time the job completed executing.