DeleteMode enumeration
Represents deletion modes.
Namespace: Microsoft.Exchange.WebServices.Data
Assembly: Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
The MoveToDeletedItems and HardDelete options are transactional, which means that by the time a web service call completes, the database has moved the item to the Deleted Items folder or permanently removed the item from the Exchange database.
The SoftDelete option works differently for different target versions of Exchange Server. SoftDelete for Exchange 2007 sets a bit on the item that indicates to the Exchange database that the item will be moved to the dumpster folder at an indeterminate time in the future. SoftDelete for versions of Exchange starting with Exchange 2010, including Exchange Online, immediately moves the item to the dumpster. SoftDelete is not an option for folder deletion. SoftDelete traversal searches for items and folders will not return any results.