Delen via


JobFilter.DateFindOperand Property

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

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property DateFindOperand As FindOperand 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

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.

Examples

Scheduling Automatic Administrative Tasks in SQL Server Agent

See Also

Reference

JobFilter Class

Microsoft.SqlServer.Management.Smo.Agent Namespace

Other Resources

Automated Administration Tasks (SQL Server Agent)