CurrentRunRetryAttempt Property

SQL-DMO

SQL-DMO

CurrentRunRetryAttempt Property

The CurrentRunRetryAttempt property indicates the number of times SQL Server Agent has attempted job execution without success.

Applies To
Job Object
Syntax

object.CurrentRunRetryAttempt

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetCurrentRunRetryAttempt(LPLONG pRetVal);