The LastRunRetries property returns the number of times SQL Server Agent attempted execution of the referenced job step on the last execution of the step-containing job.
object.LastRunRetries
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
Long
Read-only
HRESULT GetLastRunRetries(LPLONG pRetVal);
| RetryAttempts Property | RetryInterval Property |