Closes the database file.
procedure Close;
Description
Call Close to disconnect from the database. Before the connection component is deactivated, all associated datasets are closed. Calling Close is the same as setting the Connected property to False.
In most cases, closing a connection frees system resources allocated to the connection.
Note: If a previously active connection is closed and then reopened, any associated datasets must be individually reopened; reopening the connection does not automatically reopen associated datasets.
|
|