Or
Last modified: October 13, 2012
Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365
The Or element represents a search expression that performs a logical OR on the search expression that it contains. Or will return true if any of its children return true. Or must have two or more children.
<Or> <SearchExpression/> <SearchExpression/> </Or>
OrType
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child elements
|
Element |
Description |
|---|---|
|
Represents the base class for expressions within a restriction. One of the following elements must be substituted for the SearchExpression element: |
Parent elements
|
Element |
Description |
|---|---|
|
Represents the restriction or query that is used to filter items or folders in FindItem/FindFolder and search folder operations. |
|
|
Represents a search expression that negates the Boolean value of the search expression that it contains. |
|
|
Represents a search expression that allows you to perform a Boolean AND operation between two or more search expressions. The result of the AND operation is true if all the search expressions contained within the And element are true. |
|
|
Or |
Represents a search expression that performs a logical OR operation on the search expression that it contains. Or will return true if any of its children return true. Or must have two or more children. |