Condividi tramite


CurrentRunRetryAttempt 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 CurrentRunRetryAttempt property indicates the number of times SQL Server Agent has attempted job execution without success.

Sintassi

object
.CurrentRunRetryAttempt

Parts

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

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetCurrentRunRetryAttempt(LPLONG pRetVal);

Applies To:

Job Object