Partager via


LastRunRetries propriété

Gets the number of retries that were attempted when the job step was last executed.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property LastRunRetries As Integer
    Get
'Utilisation
Dim instance As JobStep
Dim value As Integer

value = instance.LastRunRetries
[SfcPropertyAttribute]
public int LastRunRetries { get; }
[SfcPropertyAttribute]
public:
property int LastRunRetries {
    int get ();
}
[<SfcPropertyAttribute>]
member LastRunRetries : int
function get LastRunRetries () : int

Valeur de la propriété

Type : System. . :: . .Int32
An Int32 value that specifies the number of attempted retries when the job step was last executed.