ParentFolderIds
Last modified: October 13, 2012
Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365
The ParentFolderIds element identifies folders for the FindItem and FindFolder operations to search.
<ParentFolderIds> <DistinguishedFolderId/> <ParentFolderIds>
<ParentFolderIds> <FolderId/> <ParentFolderIds>
NonEmptyArrayOfBaseFolderIdsType
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child elements
|
Element |
Description |
|---|---|
|
Contains the identifier and change key of a folder. The ParentFolderIds element must use either this element or the DistinguishedFolderId element. |
|
|
Identifies Microsoft Exchange Server 2007 folders that can be referenced by name. The ParentFolderIds element must use either this element or the FolderId element. |
Parent elements
|
Element |
Description |
|---|---|
|
Defines a request to identify folders in a mailbox. |
|
|
Defines a request to find items in a mailbox. |
|
|
Defines a request to resolve ambiguous names. |
The ParentFolderIds element must use either the FolderId or the DistinguishedFolderId element. An unlimited number of folders can be defined for the search.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<soap:Body>
<FindFolder Traversal="Shallow" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<FolderShape>
<t:BaseShape>Default</t:BaseShape>
</FolderShape>
<ParentFolderIds>
<t:DistinguishedFolderId Id="inbox"/>
</ParentFolderIds>
</FindFolder>
</soap:Body>
</soap:Envelope>