_SharingItem.RetentionPolicyName Property

Returns a String (string in C#) that specifies the name of the retention policy. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)


<DispIdAttribute()> _
ReadOnly Property RetentionPolicyName As String
Dim instance As _SharingItem
Dim value As String

value = instance.RetentionPolicyName
string RetentionPolicyName { get; }

Property Value

Type: System.String


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".

See Also


_SharingItem Interface

_SharingItem Members

Microsoft.Office.Interop.Outlook Namespace