Aracılığıyla paylaş


Job.CurrentRunRetryAttempt Property

Gets the number of times Microsoft SQL Server Agent has attempted to run the job unsuccessfully.

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property CurrentRunRetryAttempt As Integer
[SfcPropertyAttribute(SfcPropertyFlags.Expensive)] 
public int CurrentRunRetryAttempt { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Expensive)] 
public:
property int CurrentRunRetryAttempt {
    int get ();
}
/** @property */
public int get_CurrentRunRetryAttempt ()
public function get CurrentRunRetryAttempt () : int

Property Value

An Int32 value that specifies the number of times SQL Server Agent has attempted to run the job unsuccessfully.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.