Topic Last Modified: 2008-06-27
The ParentFolderIds element identifies folders for the FindItem and FindFolder operations to search.
<ParentFolderIds> <DistinguishedFolderId/> <ParentFolderIds>
<ParentFolderIds> <FolderId/> <ParentFolderIds>
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>
|
Namespace |
http://schemas.microsoft.com/exchange/services/2006/messages |
|
Schema Name |
Messages schema |
|
Validation File |
Messages.xsd |
|
Can be Empty |
False |
Reference
FindFolder OperationFindItem Operation
ResolveNames Operation