JobStep.LastRunDuration 属性
Gets the time that the referenced job step took to run when it was last executed.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunDuration As Integer
Get
用法
Dim instance As JobStep
Dim value As Integer
value = instance.LastRunDuration
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int LastRunDuration { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int LastRunDuration {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastRunDuration : int
function get LastRunDuration () : int
属性值
类型:System.Int32
The amount of time for the last job to complete, formatted as hhmmss (hours, minutes, seconds).
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间