DistinguishedGroupBy

The DistinguishedGroupBy element provides standard groupings for FindItem queries.

<DistinguishedGroupBy>
   <StandardGroupBy/>
</DistinguishedGroupBy>

DistinguishedGroupByType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element Description
StandardGroupBy
Represents the standard grouping and aggregating mechanisms for a grouped FindItem operation.

Parent elements

Element Description
FindItem
Defines a request to find items in a mailbox.

The following is the XPath expression to this element: /FindItem

Remarks

The DistinguishedGroupBy element can be added to a FindItem operation when the results must come backed grouped and when one of the standard groups meets the grouping requirements. If neither the DistinguishedGroupBy element nor the GroupBy element is specified, FindItem results will come back ungrouped.

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Element information

Element Example
Namespace
http://schemas.microsoft.com/exchange/services/2006/messages
Schema Name
Messages schema
Validation File
Messages.xsd
Can be Empty
False

See also