MailboxServer.MessageTrackingLogMaxAge Property

Gets or sets the maximum age for a message tracking log file.

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

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property MessageTrackingLogMaxAge As EnhancedTimeSpan
    Get
    Set
'Usage
Dim instance As MailboxServer
Dim value As EnhancedTimeSpan

value = instance.MessageTrackingLogMaxAge

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

Property Value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The age limit for a message tracking log file. The default value is 30 days.

Remarks

The value of the MessageTrackingLogMaxAge 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 age limit to 30 days, set the time span to 30.00:00:00.

The value 00.00:00:00 prevents the automatic removal of message tracking log files because of their age.