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.