Share via


Mailbox.RetentionPolicy property

Gets or sets the retention policy that is applied to the mailbox.

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

Syntax

'Declaration
Public Property RetentionPolicy As ADObjectId
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As ADObjectId

value = instance.RetentionPolicy

instance.RetentionPolicy = value
public ADObjectId RetentionPolicy { get; set; }

Property value

Type: Microsoft.Exchange.Data.Directory.ADObjectId
The identifier of a retention policy.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace