RetryInterval Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The RetryInterval property specifies a number of minutes that elapse before SQL Server Agent attempts to execute a previously failing job step.


object
.RetryInterval [= value]

object

An expression that evaluates to an object in the Applies To list

value

A long integer that specifies a number of minutes

Long

Read/write

HRESULT GetRetryInterval(LPLONG pRetVal);
HRESULT SetRetryInterval(long NewValue);

The RetryInterval property is evaluated only for those job steps flagged for retry. Set the RetryAttempts property to force SQL Server Agent to attempt more than a single execution of a job step.

If the RetryInterval property is zero (default), SQL Server Agent immediately executes a job step an additional time if a step that has been flagged for retry fails completion.

Community Additions

ADD
Show: