KI_DISCONNECT
| Argument | Enumeration | Purpose |
|---|---|---|
| connection | Connection number of external database | |
| status | KDB_ERROR_ENUM | Return status |
KI_DISCONNECT
This function will disconnect from a database and cause the database server to reclaim resources allocated to the connection. The parameter conn is the connection number used in the original KI_CONNECT. Any table or statement handles open on the connection will be automatically closed. After disconnecting the connection handle should be freed with KI_FREE_CONNECT to free local resources.