Compartir a través de


TransportServer.ActiveUserStatisticsLogMaxAge Property

Gets or sets the maximum duration that per-user activity statistics log files are kept.

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

Syntax

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

value = instance.ActiveUserStatisticsLogMaxAge

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

Property Value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The length of time to retain log files. The default value is 14 days.

Remarks

The value of the ActiveUserStatisticsLogMaxAge 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 retention length to 30 days, set the time span to 30.00:00:00.

The valid maximum value of the ActiveUserStatisticsLogMaxAge property is 24855.03:14:07. The value 00.00:00:00 indicates that there is no limit to file retention.