Closes the connection to the Gateway daemon or returns it to the connection pool.
Namespace:
IBM.CTGAssembly: 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
Exception | Condition |
---|---|
IBM.CTG..::..GatewayException | An error occurred within the Gateway daemon. |