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
public DateTime DateJobCreated { get; set; }
public:
property DateTime DateJobCreated {
    DateTime get ();
    void set (DateTime value);
}
/** @property */
public DateTime get_DateJobCreated ()

/** @property */
public void set_DateJobCreated (DateTime value)
public function get DateJobCreated () : DateTime

public function set DateJobCreated (value : DateTime)

Property Value

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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Get and Set a Property in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

JobFilter Class
JobFilter Members
Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Scheduling Automatic Administrative Tasks in SQL Server Agent
Automating Administrative Tasks (SQL Server Agent)