Compartir a través de


TransportServer.ServerStatisticsLogMaxFileSize Property

Gets or sets the maximum file size for individual server statistics log files.

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

Syntax

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

value = instance.ServerStatisticsLogMaxFileSize

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

Property Value

Type: Microsoft.Exchange.Data.ByteQuantifiedSize
The maximum file size for server statistics log files. The default value is 10 MB.

Remarks

When a server statistics log file reaches the size specified by the ServerStatisticsLogMaxFileSize property, a new log file is created.

The default value for the ServerStatisticsLogMaxFileSize property is 10 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 ServerStatisticsLogMaxFileSize property are 1 byte to 9,223,372,036,854,775,807 bytes (8 exabytes). If you set the value of the ServerStatisticsLogMaxFileSize property to unlimited, no size limit is placed on the server statistics log file size.

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