Share via


Mailbox.UseDatabaseRetentionDefaults Property

Gets or sets a value that indicates whether this mailbox uses the mailbox retention policy specified for the mailbox database that contains the mailbox.

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

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property UseDatabaseRetentionDefaults As Boolean
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As Boolean

value = instance.UseDatabaseRetentionDefaults

instance.UseDatabaseRetentionDefaults = value
[ParameterAttribute(Mandatory = false)]
public bool UseDatabaseRetentionDefaults { get; set; }

Property Value

Type: System.Boolean
true if the mailbox uses the database retention policy; otherwise false.