Bde.DBTables.TDatabase.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: destructor
Visibility: public
Source:
Bde.DBTables.pas
Bde.DBTables.hpp
Unit: Bde.DBTables
Parent: TDatabase

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TDatabase();

Description

Destroys the instance of a database component.

Do not call Destroy directly in an application. Instead, call Free, which verifies that the database reference is not nil before calling Destroy

Destroy closes all active datasets and disconnects from the database server, if necessary. It then frees the string resources allocated for the Params and DataSets properties before calling its inherited destructor.

See Also