Partilhar via


Propriedade do RDL JobStep.LastRunDate

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunDate As DateTime 
    Get
'Uso
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

Valor da propriedade

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

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

JobStep Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

Tarefas de administração automatizadas (SQL Server Agent)

sp_help_jobstep (Transact-SQL)