Share via


_MeetingItem.RetentionExpirationDate Property

Returns a DateTime value that specifies the date when the MeetingItem object expires, after which the Messaging Records Management (MRM) Assistant will delete the item. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property RetentionExpirationDate As DateTime
    Get
'Usage
Dim instance As _MeetingItem
Dim value As DateTime

value = instance.RetentionExpirationDate
[DispIdAttribute()]
DateTime RetentionExpirationDate { get; }

Property Value

Type: System.DateTime

Remarks

A retention policy is enabled and disabled by an administrator for a Microsoft Exchange Server on a mailbox level. This feature is available only on an Exchange Server 2010 mailbox with MRM 2.0 enabled.

Microsoft Outlook calculates the value of this property based on the item retention start date and the retention period, if Outlook is in cache or offline mode. The Exchange Server specifies the value if Outlook is in online mode.

In general, the retention start date for the item is determined as follows:

  • Received or sent items: the retention start date is the received date.

  • Nonrecurring calendar items: the retention start date is the appointment end date.

  • Recurring calendar items: the retention start date is the end date of last recurrence. If there is no end date, the item never expires.

See Also

Reference

_MeetingItem Interface

_MeetingItem Members

Microsoft.Office.Interop.Outlook Namespace