Share via


TransportServer.ReceiveProtocolLogPath property

Gets or sets the location of the Send connector protocol log files.

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

Syntax

'Declaration
Public Property ReceiveProtocolLogPath As LocalLongFullPath
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As LocalLongFullPath

value = instance.ReceiveProtocolLogPath

instance.ReceiveProtocolLogPath = value
public LocalLongFullPath ReceiveProtocolLogPath { get; set; }

Property value

Type: Microsoft.Exchange.Data.LocalLongFullPath
The absolute path to the Send connector protocol log files. The default value is C:\Program Files\Microsoft\Exchange Server TransportRoles\Logs\ProtocolLog\SmptReceive.

Remarks

If you set the ReceiveProtocolLogPath property to a null reference (Nothing in Visual Basic), you effectively disable Receive connector protocol logging. However, if the value of the ReceiveProtocolLogPath property is a null reference (Nothing in Visual Basic) and the value of the ProtocolLoggingLevel property of any ReceiveConnector instance on the server is set to Verbose, event log errors are generated. The preferred method of disabling protocol logging is to set the ProtocolLoggingLevel property of each ReceiveConnector instance on the server to None.

See also

Reference

TransportServer class

TransportServer members

Microsoft.Exchange.Data.Directory.Management namespace