ParentFolderIds

ParentFolderIds 元素标识要搜索的 FindItem 和 FindFolder 操作的文件夹。

<ParentFolderIds>
   <DistinguishedFolderId/>
<ParentFolderIds>
<ParentFolderIds>
   <FolderId/> 
<ParentFolderIds>

NonEmptyArrayOfBaseFolderIdsType

属性和元素

下面各部分介绍了属性、子元素和父元素。

Attributes

无。

子元素

元素 说明
FolderId
包含一个文件夹的标识符和更改键。 ParentFolderIds 元素必须使用此元素或 DistinguishedFolderId 元素。
DistinguishedFolderId
标识Microsoft Exchange Server可按名称引用的 2007 文件夹。 ParentFolderIds 元素必须使用此元素或 FolderId 元素。

父元素

元素 说明
FindFolder
定义用于标识邮箱中的文件夹的请求。
FindItem
定义在邮箱中查找项目的请求。
ResolveNames
定义解析不明确名称的请求。

备注

ParentFolderIds 元素必须使用 FolderIdDistinguishedFolderId 元素。 可以为搜索定义无限数量的文件夹。

示例

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:t="https://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Body>
    <FindFolder Traversal="Shallow" xmlns="https://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>

元素信息

元素 示例
命名空间
https://schemas.microsoft.com/exchange/services/2006/messages
架构名称
消息架构
验证文件
Messages.xsd
可以为空
False

另请参阅