O'Reilly logo

Inside Microsoft® Exchange Server 2007 Web Services by Huw Upshall, Mark Taylor, Ben Spain, Michael Mainer, David Sterling

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Grouped Item Queries

FindItem surfaces two mutually exclusive elements that we have deftly passed over until now. These elements enable you to indicate that the results of a FindItem operation should be returned in groups rather than as a flat list of items. The group that a given item will be returned in is dictated by the attributes in the grouping element. For instance, if you perform a FindItem against your Mailbox and group the results by sender, you should expect to get a group back for each unique sender in your Mailbox. Each group would contain the items sent by the sender represented by that group. Example 15-7 shows the structure of the grouping elements within the FindItem request type as defined in messages.xsd.

Example 15-7. Grouping ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required