3.1.4.1.4.2 RetentionActionType

Namespace: http://schemas.microsoft.com/exchange/services/2006/types

The RetentionActionType enumeration identifies the action for expired items.

 <xs:simpleType name="RetentionActionType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="None"/>
     <xs:enumeration value="MoveToDeletedItems"/>
     <xs:enumeration value="MoveToFolder"/>
     <xs:enumeration value="DeleteAndAllowRecovery"/>
     <xs:enumeration value="PermanentlyDelete"/>
     <xs:enumeration value="MarkAsPastRetentionLimit"/>
     <xs:enumeration value="MoveToArchive"/>
   </xs:restriction>
 </xs:simpleType>

The following table specifies the allowable values for the RetentionActionType simple type.

Value

Meaning

None

No action.

MoveToDeletedItems

The expired item is moved to the Deleted Items folder.

MoveToFolder

The expired item is moved to a folder.

DeleteAndAllowRecovery

The expired item is deleted but can be recovered.

PermanentlyDelete

The expired item is permanently deleted.

MarkAsPastRetentionLimit

The expired item is marked as expired.

MoveToArchive

The expired item is moved to the archive mailbox.