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
<ParameterAttribute(Mandatory := False)> _
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
[ParameterAttribute(Mandatory = false)]
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.