Partilhar via


Propriedade do RDL JobStep.LastRunRetries

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<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 da propriedade

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

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

JobStep Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

Tarefas de administração automatizadas (SQL Server Agent)

sp_help_jobstep (Transact-SQL)