다음을 통해 공유


DateFindOperand Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 않도록 하고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The DateFindOperand property directs evaluation of the DateJobCreated and DateJobLastModified properties.

구문

object.DateFindOperand [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list.

  • value
    A long integer that specifies a comparison operand as described in Settings.

Data Type

Long, enumerated

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDateFindOperand(SQLDMO_FIND_OPERAND* pRetVal);
HRESULT SetDateFindOperand(SQLDMO_FIND_OPERAND NewValue);

Settings

Constant

Value

Description

SQLDMOFindOperand_EqualTo

1

The default. It returns values equal to the user-defined, qualifying value.

SQLDMOFindOperand_GreaterThan

2

Returns values greater than the user-defined, qualifying value.

SQLDMOFindOperand_LessThan

3

Returns values less than the user-defined, qualifying value.

SQLDMOFindOperand_Unknown

0

Does not apply filtering on comparison against the qualifying value.

주의

The EnumJobs method of the JobServer object lists SQL Server Agent jobs. Set the properties of the method's JobFilter argument to direct job enumeration.

The DateJobCreated property filters results by creation date. The DateJobLastModified property filters results by modification date. By default, the EnumJobs method evaluates filter properties for equality. Set the DateFindOperand property to direct evaluation of the filter dates, for example, to list jobs created after a given date.

Applies To: