LastRunRetries Property

SQL-DMO

SQL-DMO

LastRunRetries Property

The LastRunRetries property returns the number of times SQLServerAgent attempted execution of the referenced job step on the last execution of the step-containing job.

Applies To
JobStep Object
Syntax

object.LastRunRetries

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetLastRunRetries(LPLONG pRetVal);

See Also

RetryAttempts Property

RetryInterval Property