Partager 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
Public Property UseDatabaseRetentionDefaults As Boolean
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As Boolean

value = instance.UseDatabaseRetentionDefaults

instance.UseDatabaseRetentionDefaults = value
public bool UseDatabaseRetentionDefaults { get; set; }

Property value

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

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace