Share via


MailboxServer.LogFileAgeLimitForManagedFolders property

Gets or sets the length of time to retain managed folder log files.

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

Syntax

'Declaration
Public Property LogFileAgeLimitForManagedFolders As EnhancedTimeSpan
    Get
    Set
'Usage
Dim instance As MailboxServer
Dim value As EnhancedTimeSpan

value = instance.LogFileAgeLimitForManagedFolders

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

Property value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The length of time to retain log files. The default value specifies that there is no limit to the length of time log files are retained.

Remarks

The value of the LogFileAgeLimitForManagedFolders 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 value 00.00:00:00 indicates that there is no limit to file retention.

See also

Reference

MailboxServer class

MailboxServer members

Microsoft.Exchange.Data.Directory.Management namespace