The CurrentRunRetryAttempt property indicates the number of times SQL Server Agent has attempted job execution without success.
object.CurrentRunRetryAttempt
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
Long
Read-only
HRESULT GetCurrentRunRetryAttempt(LPLONG pRetVal);