Compartilhar via


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
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
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.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace