Partager via


LastRunDuration propriété

Gets the time, in seconds, the referenced job step took to run when it was last executed.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property LastRunDuration As Integer
    Get
'Utilisation
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

Valeur de la propriété

Type : System. . :: . .Int32
An Int32 value that specifies the time, in seconds, that the job last took to run.