Partager via


LastRunDate propriété

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

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

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property LastRunDate As DateTime
    Get
'Utilisation
Dim instance As JobStep
Dim value As DateTime

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

Valeur de la propriété

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