Mailbox.ManagedFolderMailboxPolicy Property

Gets or sets the Messaging Records Management (MRM) policy for the mailbox.

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

Syntax

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

value = instance.ManagedFolderMailboxPolicy

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

Property Value

Type: Microsoft.Exchange.Data.Directory.ADObjectId
The identifier for the MRM policy.

Remarks

The ManagedFolderMailboxPolicy property specifies a managed folder mailbox policy that controls MRM for the mailbox. If the ManagedFolderMailboxPolicy property is set to a null reference (Nothing in Visual Basic), the managed folder mailbox policy is removed from the mailbox, but any managed folders in the mailbox remain.