Partilhar via


LastRunRetries Property

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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.

Syntax

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:

JobStep Object

See Also

Reference

RetryAttempts Property
RetryInterval Property

Help and Information

Getting SQL Server 2005 Assistance