Gets the maximum time that connections can remain idle in the connection pool.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public int IdleTimeout { get; }
Visual Basic
Public ReadOnly Property IdleTimeout As Integer
	Get
Visual C++
public:
property int IdleTimeout {
	int get ();
}

Field Value

The maximum time that connections can remain idle, in seconds.

Remarks

If the number of connections in the connection pool is greater than MinConnections, any connections that have not been acquired for the specified number of seconds are automatically closed. This property can be used to ensure that communication resources are released during periods of reduced activity.

See Also