Freigeben über


JobHistoryFilter.StartRunDate-Eigenschaft

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 (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property StartRunDate As DateTime 
    Get 
    Set
'Usage
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)

Eigenschaftswert

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

Hinweise

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

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobHistoryFilter Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)