Share via


JobFilter.DateJobCreated Property

Gets or sets the job filter constraint that restricts the values returned by the JobServer object's EnumJobs method to the date the job was created.

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

Syntax

'Declaration
Public Property DateJobCreated As DateTime
    Get
    Set
'Usage
Dim instance As JobFilter
Dim value As DateTime

value = instance.DateJobCreated

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

Property Value

Type: System.DateTime
A DateTime object value that specifies the date the job was created.

Remarks

A job filter can be applied to the JobServer object's EnumJobs method to restrict the returned enumerated list. When the constraint is a date property such as DateJobCreated, the FindOperand is used to specify whether the enumerated list is restricted to jobs created on an earlier, later, or equal date.