MailItem.RetentionPolicyName property (Outlook)

Returns a String that specifies the name of the retention policy. Read-only.

Syntax

expression. RetentionPolicyName

expression A variable that represents a MailItem object.

Remarks

Retention is enabled and disabled by an administrator for an Exchange Server on a mailbox level. The feature is available only on an Exchange mailbox with Messaging Records Management (MRM), version 2.0 or later enabled. An example of a retention policy name is "Define time interval for expiration Quick Searches".

See also

MailItem Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.