Compartir a través de


ReceiveConnector.ConnectionTimeout Property

Gets or sets the maximum time that a connection to the Receive connector can remain open, even if the connection is active.

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

Syntax

'Declaration
<ParameterAttribute(Mandatory := False)> _
Public Property ConnectionTimeout As EnhancedTimeSpan
    Get
    Set
'Usage
Dim instance As ReceiveConnector
Dim value As EnhancedTimeSpan

value = instance.ConnectionTimeout

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

Property Value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The maximum time before a connection is closed. The default is 5 minutes.

Remarks

The ConnectionTimeout property must be greater than the value specified by the ConnectionInactivityTimeout property.

The ConnectionTimeout property is specified as a time span in the form dd.hh:mm:ss where d = days, h = hours, m = minutes, and s = seconds. The input range for the ConnectionTimeout property is 00.00:00:01 (one second) to 1.00:00:00 (1 day).