共用方式為


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 Agent 排程自動管理工作

請參閱

參考

JobFilter 類別

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

其他資源

自動化管理工作 (SQL Server Agent)