RetentionActionType enumeration

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)

'Declaration
Public Enumeration RetentionActionType
'Usage
Dim instance As 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.
Show: