Freigeben über


JobFilter.DateJobCreated-Eigenschaft

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)

Eigenschaftswert

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

Hinweise

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.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

JobFilter Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)