Share via


TransportServer.ConnectivityLogPath property

Gets or sets the location of the connectivity log files.

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

Syntax

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

value = instance.ConnectivityLogPath

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

Property value

Type: Microsoft.Exchange.Data.LocalLongFullPath
The absolute path to the connectivity log files. The default value is C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs\Connectivity.

Remarks

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

See also

Reference

TransportServer class

TransportServer members

Microsoft.Exchange.Data.Directory.Management namespace