JobStep.LastRunDate-Eigenschaft
Gets the date and time when the job step was last executed.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunDate As DateTime
Get
'Usage
Dim instance As JobStep
Dim value As DateTime
value = instance.LastRunDate
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime LastRunDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime LastRunDate {
DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastRunDate : DateTime
function get LastRunDate () : DateTime
Eigenschaftswert
Typ: System.DateTime
A DateTime object value that specifies the date and time when the job step was last run.
Beispiele
Planen von automatischen, administrativen Tasks im SQL Server-Agent
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo.Agent-Namespace