JobFilter.DateJobLastModified 属性

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 last modified.

命名空间:  Microsoft.SqlServer.Management.Smo.Agent
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Property DateJobLastModified As DateTime 
    Get 
    Set
用法
Dim instance As JobFilter 
Dim value As DateTime 

value = instance.DateJobLastModified

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

属性值

类型:System.DateTime
A DateTime object value that specifies the date the job was last modified.

注释

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 DateJobLastModified the FindOperand is used to specify whether the enumerated list is restricted to jobs that were last modified on an earlier, later, or equal date.

示例

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

请参阅

参考

JobFilter 类

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

其他资源

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