Delen via


JobHistoryFilter.StartRunDate Property

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)

Property Value

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

Remarks

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