Summary

This chapter discussed using FindItem and FindFolder to search folder items and folders in your Mailbox. Aside from Restrictions, which were discussed in the previous chapter, you can further control the data that your request returns via paging and grouping. Paging plays a big part in responsive applications—only get the data you need! We then took an in-depth look at grouped queries. Grouping applies only to FindItem but gives you extensive control over how groups are formed and the order in which they are returned. We had a discussion of the HasAttachments property and how we can work around the fact that it is a calculated property.

You can use search folders to create custom views on one or more folders based on a specific 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.