Compartir a través de


LastRunDate Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Expensive)> _
Public ReadOnly Property LastRunDate As DateTime
    Get
'Uso
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

Valor de la propiedad

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