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.