次の方法で共有


LastRunDuration プロパティ

参照先ジョブ ステップが前回実行されたときの実行所要時間 (秒単位) を取得します。

名前空間:  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
ジョブの前回の実行所要時間 (秒単位) を示す Int32 値です。