LastRunDuration Property

SQL-DMO

SQL-DMO

LastRunDuration Property

The LastRunDuration property identifies the length of time, in seconds, required to execute the referenced job step on its most recent run date and time.

Applies To
JobStep Object
Syntax

object.LastRunDuration

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetLastRunDuration(LPLONG pRetVal);