RetryInterval Property (SQL-DMO)

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

Applies To

JobStep Object

Syntax

object.RetryInterval [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer specifying a number of minutes

Remarks

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.

When the RetryInterval property is zero (default), SQL Server Agent will immediately execute a job step an additional time when the step has been flagged for retry and fails completion.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetRetryInterval(LPLONG pRetVal);

HRESULT SetRetryInterval(long NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.