Compartir a través de


ReceiveConnector.ConnectionInactivityTimeout Property

Gets or sets the maximum amount of idle time before a connection to a Receive container is closed.

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

Syntax

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

value = instance.ConnectionInactivityTimeout

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

Property Value

Type: Microsoft.Exchange.Data.EnhancedTimeSpan
The maximum idle 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 ConnectionInactivityTimeout 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 ConnectionInactivityTimeout property is 00.00:00:01 (one second) to 1.00:00:00 (1 day).