Closes the connection to the Gateway daemon or returns it to the connection pool.

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

Syntax

C#
public void Close()
Visual Basic
Public Sub Close
Visual C++
public:
void Close()

Remarks

If the connection is a member of a GatewayConnectionPool, the connection remains open and is returned to the pool so that it can be used again. If the connection is not a member of a connection pool, it is closed immediately.

Exceptions

ExceptionCondition
IBM.CTG..::..GatewayExceptionAn error occurred within the Gateway daemon.

See Also