Mailbox.StartDateForRetentionHold Property

Gets or sets the date and time that a retention hold on messages in this mailbox begins.

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

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property StartDateForRetentionHold As Nullable(Of DateTime)
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As Nullable(Of DateTime)

value = instance.StartDateForRetentionHold

instance.StartDateForRetentionHold = value
[ParameterAttribute(Mandatory = false)]
public Nullable<DateTime> StartDateForRetentionHold { get; set; }

Property Value

Type: System.Nullable<DateTime>
The date and time that the retention hold begins. This property may be a null reference (Nothing in Visual Basic).

Remarks

The StartDateForRetentionHold property is the date and time that messaging records management retention hold begins on a mailbox. To hold items in a mailbox, set the RetentionHoldEnabled property to true.