DbPool.disconnect() (Method)

Disconnect from the database discarding all connections in the pool in the process.

Availability:

JavaScript - 1.2
Netscape Enterprise Server - 3.0
JavaScript syntax:NESmyDbPool.disconnect()

It is a good idea to disconnect from the database when you know you won't need it anymore. This is good practice and allows other processes to connect when resources are scarce.

Until the database is connected again, only the connect() and connected() methods have any meaning.

See also:database.disconnect()