共用方式為


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.

命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

語法

'宣告
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)

屬性值

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

備註

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.

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

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

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

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

其他資源

Scheduling Automatic Administrative Tasks in SQL Server Agent
自動化管理工作 (SQL Server Agent)