Share via


MailUser.RetainDeletedItemsFor property

Gets or sets the length of time to keep deleted items.

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

Syntax

'Declaration
Public Property RetainDeletedItemsFor As EnhancedTimeSpan
    Get
    Set
'Usage
Dim instance As MailUser
Dim value As EnhancedTimeSpan

value = instance.RetainDeletedItemsFor

instance.RetainDeletedItemsFor = value
public EnhancedTimeSpan RetainDeletedItemsFor { get; set; }

Property value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The length of time to keep deleted items.

Remarks

To specify a value for this property, enter it as a time span: dd.hh:mm:ss where dd represents days; hh represents hours; mm represents minutes; and ss represents seconds.

See also

Reference

MailUser class

MailUser members

Microsoft.Exchange.Data.Directory.Management namespace