Share via


TransportServer.ReceiveProtocolLogMaxDirectorySize property

Gets or sets the size limit for the Receive connector protocol log directory.

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

Syntax

'Declaration
Public Property ReceiveProtocolLogMaxDirectorySize As Unlimited(Of ByteQuantifiedSize)
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As Unlimited(Of ByteQuantifiedSize)

value = instance.ReceiveProtocolLogMaxDirectorySize

instance.ReceiveProtocolLogMaxDirectorySize = value
public Unlimited<ByteQuantifiedSize> ReceiveProtocolLogMaxDirectorySize { get; set; }

Property value

Type: Microsoft.Exchange.Data.Unlimited<ByteQuantifiedSize>
The size limit for all Receive connector protocol log files. The default value is 250 MB.

Remarks

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

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

The value of the ReceiveProtocolLogMaxFileSize property must be less than or equal to the value of the ReceiveProtocolLogMaxDirectorySize property.

See also

Reference

TransportServer class

TransportServer members

Microsoft.Exchange.Data.Directory.Management namespace