Share via


MailUser.RetentionComment property

Gets or sets the comment displayed in Outlook regarding the user’s retention hold status.

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

Syntax

'Declaration
Public Property RetentionComment As String
    Get
    Set
'Usage
Dim instance As MailUser
Dim value As String

value = instance.RetentionComment

instance.RetentionComment = value
public string RetentionComment { get; set; }

Property value

Type: System.String
The comment displayed in Outlook regarding the user’s retention hold status.

Remarks

To use this property, the RetentionHoldEnabled property must be set to true.

See also

Reference

MailUser class

MailUser members

Microsoft.Exchange.Data.Directory.Management namespace