Item.RetentionDate property

Gets the date until which an item must be preserved.

The RetentionDate property 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 ReadOnly Property RetentionDate As Nullable(Of DateTime)
Dim instance As Item
Dim value As Nullable(Of DateTime)

value = instance.RetentionDate

Property value

Type: System.Nullable<DateTime>
The retention date.