Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

2.2.3.87 LessThan

The LessThan element is an optional child element of the And element in Search command requests that contains elements that specify a property and a value that are compared for a "less than" condition during a search.

Elements referenced in this section are defined in the Search namespace, except where otherwise indicated by the presence of a namespace prefix (as defined in section 2.2.1).

Command request/response

Parent elements

Child elements

Data type

Number allowed

Search command request (section 2.2.2.14)

And (section 2.2.3.10)

email:DateReceived (section 2.2.3.51)

Value (section 2.2.3.180)

container ([MS-ASDTYPE] section 2.2)

0...1 (optional)

The result of including more than one LessThan element in a Search command request is undefined. The server SHOULD return a protocol status error in response to such a command request.

The LessThan element is supported only in mailbox searches. It is not supported for document library searches. The comparison is made between the value of the Value element and the date that a mailbox item was received. The email:DateReceived element MUST be present before the Value element.

Typically, this element is used to filter results by the date on which they were received so that the date received is less than the specified value.

If the LessThan element is included as a child element of any element other than the And element (section 2.2.3.10), the server responds with a Status element (section 2.2.3.162.12) value of 8 (SearchTooComplex).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.