Share via


TransportServer.ServerStatisticsLogMaxDirectorySize property

Gets or sets the size limit for the server statistics log directory.

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

Syntax

'Declaration
Public Property ServerStatisticsLogMaxDirectorySize As ByteQuantifiedSize
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As ByteQuantifiedSize

value = instance.ServerStatisticsLogMaxDirectorySize

instance.ServerStatisticsLogMaxDirectorySize = value
public ByteQuantifiedSize ServerStatisticsLogMaxDirectorySize { get; set; }

Property value

Type: Microsoft.Exchange.Data.ByteQuantifiedSize
The size limit for all server statistics log files. The default value is 250 MB.

Remarks

When the size limit specified by the ServerStatisticsLogMaxDirectorySize property is reached, the oldest message tracking logs are deleted.

The default value for the ServerStatisticsLogMaxDirectorySize property is 250 MB. When you enter a value, you can qualify it with one of the following units:

  • B (bytes)

  • KB (kilobytes)

  • MB (megabytes)

  • GB (gigabytes)

  • TB (terabytes)

Unqualified values are treated as bytes.

The valid values of the ServerStatisticsLogMaxDirectorySize property are 1 byte to 9,223,372,036,854,775,807 bytes (8 exabytes). If you set the value of the ServerStatisticsLogMaxDirectorySize property to unlimited, no size limit is placed on the server statistics log directory.

The value of the ServerStatisticsLogMaxFileSize property must be less than or equal to the value of the ServerStatisticsLogMaxDirectorySize property.

See also

Reference

TransportServer class

TransportServer members

Microsoft.Exchange.Data.Directory.Management namespace