EmptyFolder
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
Attributes and elements
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.
Text value
None.
Remarks
The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.
Element information
Name | Value |
---|---|
Namespace |
https://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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기