Compartir a través de


LastRunDuration Propiedad

Gets the time that the referenced job step took to run when it was last executed.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunDuration As Integer
    Get
'Uso
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

Valor de la propiedad

Tipo: System. . :: . .Int32
The amount of time for the last job to complete, formatted as hhmmss (hours, minutes, seconds).