Share via


MailUser.RetentionHoldEnabled property

Gets or sets a value that indicates whether retention hold is enabled for messaging retention policies.

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

Syntax

'Declaration
Public Property RetentionHoldEnabled As Boolean
    Get
    Set
'Usage
Dim instance As MailUser
Dim value As Boolean

value = instance.RetentionHoldEnabled

instance.RetentionHoldEnabled = value
public bool RetentionHoldEnabled { get; set; }

Property value

Type: System.Boolean
true if retention hold is enabled; otherwise, false.

See also

Reference

MailUser class

MailUser members

Microsoft.Exchange.Data.Directory.Management namespace