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
<ParameterAttribute(Mandatory := False)> _
Public Property RetentionComment As String
    Get
    Set
'Usage
Dim instance As Mailbox
Dim value As String

value = instance.RetentionComment

instance.RetentionComment = value
[ParameterAttribute(Mandatory = false)]
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.