Condividi tramite


RetryInterval Property

Questa funzionalità verrà rimossa in una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

object
.RetryInterval [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer that specifies a number of minutes

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

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

Osservazioni

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.

Applies To:

JobStep Object