Mailbox.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
<ParameterAttribute(Mandatory := False)> _
Public Property RetainDeletedItemsFor As EnhancedTimeSpan
Get
Set
'Usage
Dim instance As Mailbox
Dim value As EnhancedTimeSpan
value = instance.RetainDeletedItemsFor
instance.RetainDeletedItemsFor = value
[ParameterAttribute(Mandatory = false)]
public EnhancedTimeSpan RetainDeletedItemsFor { get; set; }
Property Value
Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The length of time to keep deleted items.
Remarks
The value of the RetainDeletedItemsFor property is a time span in the form dd.hh:mm:ss where d = days, h = hours, m = minutes and s = seconds. For example, to set the message retry interval to 15 hours, set the time span to 00.15:00:00.
See Also