TransportServer.MessageTrackingLogMaxFileSize Property

Gets or sets the maximum file size for individual message tracking 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 MessageTrackingLogMaxFileSize As ByteQuantifiedSize
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As ByteQuantifiedSize

value = instance.MessageTrackingLogMaxFileSize

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

Property Value

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

Remarks

When a message tracking log files reaches the size specified by the MessageTrackingLogMaxFileSize property, a new log file is created.

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

The value of the MessageTrackingLogMaxFileSize property must be less than or equal to the value of the MessageTrackingLogMaxDirectorySize property.