JobStep.LastRunRetries Propiedad
Gets the number of retries that were attempted when the job step was last executed.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunRetries As Integer
Get
'Uso
Dim instance As JobStep
Dim value As Integer
value = instance.LastRunRetries
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int LastRunRetries { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int LastRunRetries {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastRunRetries : int
function get LastRunRetries () : int
Valor de la propiedad
Tipo: System.Int32
An Int32 value that specifies the number of attempted retries when the job step was last executed.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent