Name

close — close a database connection

Synopsis

void Connection.close ( );  

Description

Closes a database connection. After calling this method you should not try to use the Connection object again.

You should take care to explicitly close any connections that you open. Although this is not necessary on all platforms, it is good practice and the safest way to program.

See Also

Data sources and database access in RSP is explained in the section called “Accessing Databases”