Compartir a través de


DisposalType Enumeration

The DisposalType enumeration describes how an item or folder is deleted.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Enumeration DisposalType
'Usage
Dim instance As DisposalType
[SerializableAttribute]
public enum DisposalType

Members

Member name Description
HardDelete An item is permanently removed from the store.
SoftDelete An item is moved to the dumpster if the dumpster is enabled.
MoveToDeletedItems An item is moved to the Deleted Items folder.

Remarks

This enumeration is used by the DeleteFolder and DeleteItem operations. This enumeration must be set on the DeleteType property on the DeleteItemType object and the DeleteType property on the DeleteFolderType object.