Restriction
Last modified: October 13, 2012
Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365
The Restriction element represents the restriction or query that is used to filter items or folders in FindItem/FindFolder and search folder operations.
<Restriction> <SearchExpression/> </Restriction>
RestrictionType
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child elements
|
Element |
Description |
|---|---|
|
Represents a search expression that enables you to perform a Boolean AND operation between two or more search expressions. |
|
|
Represents a search expression that determines whether a given property contains the supplied constant string value. |
|
|
Performs a bitwise mask of the properties. |
|
|
Represents a search expression that returns true if the supplied property exists on an item. |
|
|
Represents a search expression that compares a property with either a constant value or another property and evaluates to true if they are equal. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is greater than the value or property. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is greater than or equal to the value or property. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is less than the value or property. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the first property is less than or equal to the value or property. |
|
|
Represents a search expression that compares a property with either a constant value or another property and returns true if the values are not the same. |
|
|
Represents a search expression that negates the Boolean value of the search expression it contains. |
|
|
Represents a search expression that performs a logical OR operation on the search expression it contains. The Or element will return true if any of its children return true. |
|
|
Represents the substituted element within a restriction. This element is not used in an XML instance document. |
Parent elements
|
Element |
Description |
|---|---|
|
Defines a request to identify folders in a mailbox. |
|
|
Defines a request to find items in a mailbox. |
|
|
Represents the parameters that define a search folder. |