Share via


Mailbox.RetentionComment property

Gets or sets the comment displayed 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 Mailbox
Dim value As String

value = instance.RetentionComment

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

Property value

Type: System.String
The comment to display.

Remarks

The RetentionComment property can only be set if the RetentionHoldEnabled property is set to true. The comment should be localized to the user’s preferred language.

See also

Reference

Mailbox class

Mailbox members

Microsoft.Exchange.Data.Directory.Management namespace