2.2.5.9 t:DisposalType Simple Type

The DisposalType simple type specifies how an item or folder is deleted. The DisposalType simple type extends the xs:string data type ([XMLSCHEMA2] section 3.2.1).

 <xs:simpleType name="DisposalType">
     <xs:restriction base="xs:string">
         <xs:enumeration value="HardDelete"/>
         <xs:enumeration value="MoveToDeletedItems"/>
         <xs:enumeration value="SoftDelete"/>
     </xs:restriction>
 </xs:simpleType>
  

The values that are defined by the DisposalType simple type are listed in the following table.

Value

Meaning

HardDelete

Specifies that an item or folder is permanently removed from the store.

MoveToDeletedItems

Specifies that an item or folder is moved to the Deleted Items folder.

SoftDelete

Specifies that an item or folder is moved to the dumpster if the dumpster is enabled.

The DeleteFolderType complex type, as specified in [MS-OXWSFOLD] section 3.1.4.4.3.2, and DeleteItemType complex type, as specified in [MS-OXWSCORE] section 3.1.4.3.3.2, MUST specify a value for the DisposalType simple type.