And
App
Day
End
ID
Ids
Not
Or
SID
To
TTL
UID
Url
Expand Minimize

ParentFolderId (TargetFolderIdType)

Last modified: October 13, 2012

Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365

The ParentFolderId element identifies the folder in which a new folder is created or the folder to search for the FindConversation operation.


<ParentFolderId>
   <DistinguishedFolderId/>
</ParentFolderId>

<ParentFolderId>
   <FolderId/>
</ParentFolderId>

TargetFolderIdType

The ParentFolderId element contains two child elements. The child elements are mutually exclusive in the schema.

Attributes

None.

Child elements

Element

Description

FolderId

Contains the required identifier and the optional change key of a folder in which a new folder is created or the folder that is searched for the FindConversation operation. Using this element excludes the use of the DistinguishedFolderId element.

DistinguishedFolderId

Identifies default Microsoft Exchange Server 2007 folders. Using this element excludes the use of the FolderId element.

Parent elements

Element

Description

CreateFolder

Defines a request to create a folder in the Exchange database.

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

FindConversation

Defines a request to find conversations in a mailbox.

The two child elements are used to define the folder that will contain the new folder. You must select either the FolderId or the DistinguishedFolderId element to identify the parent folder of the new folder. You cannot use both elements at the same time. This element is required to create folders.

The ParentFolderId element describes the location of existing items and folders.

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Namespace

http://schemas.microsoft.com/exchange/services/2006/messages

Schema Name

Message schema

Validation File

Messages.xsd

Can be Empty

False

Show:
© 2014 Microsoft