Mailbox.EndDateForRetentionHold Property
Gets or sets the date and time that a retention hold on messages in this mailbox expires.
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 Mailbox
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 date and time that the retention hold expires. This property can be a null reference (Nothing in Visual Basic).
Remarks
The EndDateForRetentionHold property is the date and time that messaging records management retention hold is removed from a mailbox. To hold items in a mailbox, set the RetentionHoldEnabled property to true.
See Also