DeleteFolder

Topic Last Modified: 2006-06-11

The DeleteFolder element defines a request to delete folders from a mailbox in the Exchange store.

Syntax

<DeleteFolder DeleteType="">
   <FolderIds/>
</DeleteFolder>

Type

DeleteFolderType

Attributes and Elements

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

Attributes

Attribute Description

DeleteType

Describes how a folder is deleted. This attribute is required.

DeleteType Attribute

Value Description

HardDelete

A folder is permanently removed from the store.

SoftDelete

A folder is moved to the dumpster if the dumpster is enabled.

MoveToDeletedItems

A folder is 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.

Remarks

The schema that describes this element is located in the EWS virtual directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

Element Information

Namespace

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

Schema Name

Message schema

Validation File

Messages.xsd

Can be Empty

False

See Also

Reference

DeleteFolder Operation