Compartilhar via


Propriedade do RDL JobHistoryFilter.StartRunDate

Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobHistory method to the date the job started running.

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

Sintaxe

'Declaração
Public Property StartRunDate As DateTime 
    Get 
    Set
'Uso
Dim instance As JobHistoryFilter 
Dim value As DateTime 

value = instance.StartRunDate

instance.StartRunDate = value
public DateTime StartRunDate { get; set; }
public:
property DateTime StartRunDate {
    DateTime get ();
    void set (DateTime value);
}
member StartRunDate : DateTime with get, set
function get StartRunDate () : DateTime 
function set StartRunDate (value : DateTime)

Valor da propriedade

Tipo: System.DateTime
A DateTime system object value that specifies the date and time limit for when the job started.

Comentários

The job history filter can be used to restrict the list returned by the JobServer object's EnumJobHistory method to jobs.

Exemplos

Agendando tarefas administrativas automáticas no SQL Server Agent

Consulte também

Referência

JobHistoryFilter Classe

Namespace Microsoft.SqlServer.Management.Smo.Agent

Outros recursos

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