Compartir a través de


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
<ParameterAttribute(Mandatory := False)> _
Public Property ConnectivityLogPath As LocalLongFullPath
    Get
    Set
'Usage
Dim instance As TransportServer
Dim value As LocalLongFullPath

value = instance.ConnectivityLogPath

instance.ConnectivityLogPath = value
[ParameterAttribute(Mandatory = false)]
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.