Właściwość JobStep.RetryInterval
Gets or sets the number of minutes that Microsoft SQL Server Agent waits before trying to execute a job step that has previously failed.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Agent
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Składnia
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RetryInterval As Integer
Get
Set
'Użycie
Dim instance As JobStep
Dim value As Integer
value = instance.RetryInterval
instance.RetryInterval = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int RetryInterval { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int RetryInterval {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member RetryInterval : int with get, set
function get RetryInterval () : int
function set RetryInterval (value : int)
Wartość właściwości
Typ: System.Int32
Int32 Wartość, która określa liczbę minut, ponawianie krok zadanie nie powiodło się.
Uwagi
TheRetryInterval property is evaluated only for those job steps flagged for retry.Ustaw RetryAttempts właściwość, aby wymusić SQL Server Agent próba więcej niż wykonanie jednego kroku zadanie.
Gdy RetryInterval właściwość jest zero (domyślnie), SQL Server Agent natychmiast wykonuje zadanie krok dodatkowy czas, kiedy krok ma ustawioną flagę dla ponawiania i nie powiodło się zakończenie.