Share via


MailUser.SingleItemRecoveryEnabled Property

Gets or sets a value that indicates whether to prevent the Recovery Items folder from being purged.

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

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property SingleItemRecoveryEnabled As Boolean
    Get
    Set
'Usage
Dim instance As MailUser
Dim value As Boolean

value = instance.SingleItemRecoveryEnabled

instance.SingleItemRecoveryEnabled = value
[ParameterAttribute(Mandatory = false)]
public bool SingleItemRecoveryEnabled { get; set; }

Property Value

Type: System.Boolean
true if it prevents the Recovery Items folder from being purged; otherwise, false.

Remarks

The default value is false.