DeleteFolder
The DeleteFolder element defines a request to delete folders from a mailbox in the Exchange store.
<DeleteFolder DeleteType="">
<FolderIds/>
</DeleteFolder>
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.
Text value
None.
Remarks
The MoveToDeletedItems and HardDelete options are transactional, which means that by the time a Web service call completes, the database has moved the item to the Deleted Items folder or permanently removed the item from the Exchange database. This behavior is the same for MicrosoftExchange Server 2007 and Exchange Server 2010.
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
Element information
Element | Example |
---|---|
Namespace |
http://schemas.microsoft.com/exchange/services/2006/messages |
Schema Name |
Message schema |
Validation File |
Messages.xsd |
Can be Empty |
False |
See also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應