DisposalType DisposalType DisposalType Enum


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

public enum class DisposalType
public enum DisposalType
Public Enum DisposalType


HardDelete HardDelete HardDelete 0

An item is permanently removed from the store.

MoveToDeletedItems MoveToDeletedItems MoveToDeletedItems 2

An item is moved to the Deleted Items folder.

SoftDelete SoftDelete SoftDelete 1

An item is moved to the dumpster if the dumpster is enabled.


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.

Applies to