Compartir a través de


TransportServer.MessageTrackingLogPath Property

Gets or sets the location of the message tracking logs.

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

Syntax

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

value = instance.MessageTrackingLogPath

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

Property Value

Type: Microsoft.Exchange.Data.LocalLongFullPath
The absolute path to the message tracking logs. The default value is C:\Program Files\Microsoft\Exchange Server Transport Roles\Logs\Message Tracking.

Remarks

If you set the MessageTrackingLogPath property to a null reference (Nothing in Visual Basic), you effectively disable message tracking. However, if the value of the MessageTrackingLogPath property is a null reference (Nothing in Visual Basic) and the value of the MessageTrackingLogEnabled property is true, event log errors occur. The preferred method to disable message tracking is to set the MessageTrackingLogEnabled property to false.