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
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

DisposalType Enumeration

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

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

[SerializableAttribute] 
[XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types")] 
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")] 
public enum DisposalType
/** @attribute SerializableAttribute() */ 
/** @attribute XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") */ 
/** @attribute GeneratedCodeAttribute("wsdl", "2.0.50727.42") */ 
public enum DisposalType
SerializableAttribute 
XmlTypeAttribute(Namespace="http://schemas.microsoft.com/exchange/services/2006/types") 
GeneratedCodeAttribute("wsdl", "2.0.50727.42") 
public enum DisposalType

Member nameDescription
HardDeleteAn item is permanently removed from the store.
MoveToDeletedItemsAn item is moved to the Deleted Items folder.
SoftDeleteAn 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.


Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)
Show:
© 2015 Microsoft