Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DisposalType enumeration

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

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

public enum DisposalType

Member nameDescription
HardDeleteAn item is permanently removed from the store.
SoftDeleteAn item is moved to the dumpster if the dumpster is enabled.
MoveToDeletedItemsAn item is moved to the Deleted Items folder.

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.

© 2015 Microsoft