Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RetentionActionType enumeration

EWS Managed API

Defines the set of retention policy actions for expired items.

The RetentionActionType enumeration is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
public enum RetentionActionType
Member nameDescription
None No action specified. The None field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
MoveToDeletedItems Expired items will be moved to the Deleted Items folder. The MoveToDeletedItems field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
MoveToFolder Expired items will be moved to a target folder. The MoveToFolder member is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
DeleteAndAllowRecovery Expired items will be soft deleted. The DeleteAndAllowRecovery field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
PermanentlyDelete Expired items will be hard deleted. The PermanentlyDelete field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
MarkAsPastRetentionLimit Expired items will be tagged as expired. The MarkAsPastRetentionLimit field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
MoveToArchive Expired items will be moved to the archive. The MoveToArchive field is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.