LastRunDate propriété

Gets the date and time when the job was last run.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastRunDate As DateTime
    Get
'Utilisation
Dim instance As Job
Dim value As DateTime

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

Valeur de la propriété

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