JobFilter.DateJobCreated 属性

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(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Property DateJobCreated As DateTime 
    Get 
    Set
用法
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)

属性值

类型:System.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.

示例

在 SQL Server 代理中计划自动管理任务

请参阅

参考

JobFilter 类

Microsoft.SqlServer.Management.Smo.Agent 命名空间

其他资源

自动执行管理任务(SQL Server 代理)