Partager via


LastRunRetries 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 LastRunRetries property returns the number of times SQL Server Agent attempted execution of the referenced job step on the last execution of the step-containing job.

Syntaxe

object
.LastRunRetries

Parts

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

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetLastRunRetries(LPLONG pRetVal);

Applies To: