Condividi tramite


Proprietà LastRunDate

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunDate As DateTime
    Get
'Utilizzo
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

Valore proprietà

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