Udostępnij za pośrednictwem


JobStep.LastRunDuration Property

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

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property LastRunDuration As Integer
[SfcPropertyAttribute] 
public int LastRunDuration { get; }
[SfcPropertyAttribute] 
public:
property int LastRunDuration {
    int get ();
}
/** @property */
public int get_LastRunDuration ()
public function get LastRunDuration () : int

Property Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.