3.1.4.5.3.1 m:EmptyFolderType Complex Type

The EmptyFolderType complex type specifies a request message to empty a folder in a mailbox. The EmptyFolderType complex type extends the BaseRequestType complex type, as specified in [MS-OXWSCDATA] section 2.2.4.17.

 <xs:complexType name="EmptyFolderType">
   <xs:complexContent>
     <xs:extension
       base="m:BaseRequestType"
     >
       <xs:sequence>
         <xs:element name="FolderIds"
           type="t:NonEmptyArrayOfBaseFolderIdsType"
          />
       </xs:sequence>
       <xs:attribute name="DeleteType"
         type="t:DisposalType"
         use="required"
        />
       <xs:attribute name="DeleteSubFolders"
         type="xs:boolean"
         use="required"
        />
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
  
  

The following table lists the child elements of the EmptyFolderType complex type.

Element name

Type

Description

FolderIds

t:NonEmptyArrayOfBaseFolderIdsType (section 3.1.4.6.3.3)

Specifies the collection of items and folders to delete.

The following table lists the attributes of the EmptyFolderType complex type.

Attribute name

Type

Description

DeleteType

t:DisposalType ([MS-OXWSCDATA] section 2.2.5.9)

Specifies an enumeration value that describes how an item is deleted.

DeleteSubFolders

xs:boolean ([XMLSCHEMA2])

A Boolean value that indicates whether the subfolders are also to be deleted. The DeleteSubFolders attribute is set to "true" if the subfolders are to be deleted; otherwise, it is set to "false".