共用方式為


JobFilter.DateFindOperand 屬性

Gets or sets the operator used to evaluate date constraints in the job filter.

命名空間:  Microsoft.SqlServer.Management.Smo.Agent
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Property DateFindOperand As FindOperand 
    Get 
    Set
'用途
Dim instance As JobFilter 
Dim value As FindOperand 

value = instance.DateFindOperand

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Agent.FindOperand
A FindOperand object value that specifies the way that dates are evaluated in the job filter.

備註

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

請參閱

參考

JobFilter 類別

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

其他資源

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