Export (0) Print
Expand All
And
Day
End
ID
Ids
Not
Or
SID
To
UID
URL
Expand Minimize

EmptyFolder

Last modified: September 19, 2010

Applies to: Exchange Server 2007 | Exchange Server 2010

The EmptyFolder element defines a request to empty a folder in a mailbox in the Exchange store. Optionally, subfolders can also be deleted when the folder is emptied.


<EmptyFolder>
   <FolderIds/>
</EmptyFolder>

EmptyFolderType

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

Attributes

Attribute

Description

DeleteType

Specifies how a folder is emptied. This attribute is required.

DeleteSubFolders

Specifies whether subfolders are to be deleted. This attribute is required.

DeleteType Attribute

Value

Description

HardDelete

A messages and folders are permanently removed from the store.

SoftDelete

A messages and folders are moved to the dumpster if the dumpster is enabled.

MoveToDeletedItems

A messages and folders are moved to the Deleted Items folder.

Child Elements

Element

Description

FolderIds

Contains an array of folder identifiers that are used to identify folders to delete.

Parent Elements

None.

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

Namespace

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

Schema Name

Message schema

Validation File

Messages.xsd

Can be Empty

False

Show:
© 2014 Microsoft