LastRunDuration 屬性
Gets the time, in seconds, 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> _
Public ReadOnly Property LastRunDuration As Integer
Get
'用途
Dim instance As JobStep
Dim value As Integer
value = instance.LastRunDuration
[SfcPropertyAttribute]
public int LastRunDuration { get; }
[SfcPropertyAttribute]
public:
property int LastRunDuration {
int get ();
}
[<SfcPropertyAttribute>]
member LastRunDuration : int
function get LastRunDuration () : int
屬性值
型別:System. . :: . .Int32
An Int32 value that specifies the time, in seconds, that the job last took to run.