共用方式為


LastRunDate 屬性

Gets the date and time when the job step was last executed.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property LastRunDate As DateTime
    Get
'用途
Dim instance As JobStep
Dim value As DateTime

value = instance.LastRunDate
[SfcPropertyAttribute]
public DateTime LastRunDate { get; }
[SfcPropertyAttribute]
public:
property DateTime LastRunDate {
    DateTime get ();
}
[<SfcPropertyAttribute>]
member LastRunDate : DateTime
function get LastRunDate () : DateTime

屬性值

型別:System. . :: . .DateTime
A DateTime object value that specifies the date and time when the job step was last run.