Partager via


CurrentRunRetryAttempt Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The CurrentRunRetryAttempt property indicates the number of times SQL Server Agent has attempted job execution without success.

Syntaxe

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: