共用方式為


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> _
Public ReadOnly Property LastRunRetries As Integer
    Get
'用途
Dim instance As JobStep
Dim value As Integer

value = instance.LastRunRetries
[SfcPropertyAttribute]
public int LastRunRetries { get; }
[SfcPropertyAttribute]
public:
property int LastRunRetries {
    int get ();
}
[<SfcPropertyAttribute>]
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.