_MailItem.RetentionPolicyName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a String (string in C#) that specifies the name of the retention policy. Read-only.
public:
property System::String ^ RetentionPolicyName { System::String ^ get(); };
public string RetentionPolicyName { get; }
Public ReadOnly Property RetentionPolicyName As String
Property Value
Remarks
Retention is enabled and disabled by an administrator for a Microsoft Exchange Server on a mailbox level. The feature is available only on an Exchange Server 2010 mailbox with Messaging Records Management (MRM) 2.0 enabled. An example of a retention policy name is "Define time interval for expiration Quick Searches".