Share via


MailUser.EndDateForRetentionHold property

Gets or sets the end date and time for retention hold for messaging records management (MRM).

Namespace:  Microsoft.Exchange.Data.Directory.Management
Assembly:  Microsoft.Exchange.Data.Directory (in Microsoft.Exchange.Data.Directory.dll)

Syntax

'Declaration
Public Property EndDateForRetentionHold As Nullable(Of DateTime)
    Get
    Set
'Usage
Dim instance As MailUser
Dim value As Nullable(Of DateTime)

value = instance.EndDateForRetentionHold

instance.EndDateForRetentionHold = value
public Nullable<DateTime> EndDateForRetentionHold { get; set; }

Property value

Type: System.Nullable<DateTime>
The end date and time for retention hold for MRM.

Remarks

To use this property, the RetentionHoldEnabled property must be set to true.

See also

Reference

MailUser class

MailUser members

Microsoft.Exchange.Data.Directory.Management namespace