How Are Search Folders Created?

Search folders are created in much the same way as regular folders. The distinguishing difference between search folders and regular folders is that search folders have a property that defines the restriction used by the search folder, the traversal scope for that restriction, and the root folders to apply that restriction to. The SearchFolderType introduces the SearchParameters property, which describes how the search folder searches the Mailbox.

SearchParametersType

The SearchParameters property is defined by the SearchParametersType in types.xsd, as shown in Example 15-20.

Example 15-20. SearchParametersType as defined in types.xsd

<xs:complexType name="SearchParametersType"> <xs:sequence> <xs:element name="Restriction" ...

Get Inside Microsoft® Exchange Server 2007 Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.