Aracılığıyla paylaş


JobStep.LastRunDate Property

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

'Bildirim
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunDate As DateTime
    Get
'Kullanım
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

Property Value

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

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobStep Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)

sp_help_jobstep (Transact-SQL)