Bde.DBTables.TDatabase.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TDatabase(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Bde.DBTables.pas Bde.DBTables.hpp |
Bde.DBTables | 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.