Restriction
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. |