Поделиться через


Свойство JobStep.LastRunRetries

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

Пространство имен:  Microsoft.SqlServer.Management.Smo.Agent
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunRetries As Integer 
    Get
'Применение
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

Значение свойства

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

Примеры

Планирование автоматических административных задач в агенте SQL Server

См. также

Справочник

JobStep Класс

Пространство имен Microsoft.SqlServer.Management.Smo.Agent

Другие ресурсы

Задачи автоматизированного администрирования (агент SQL Server)

sp_help_jobstep (Transact-SQL)