Data.DB.TCustomConnection.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TCustomConnection();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Data.DB.pas Data.DB.hpp |
Data.DB | TCustomConnection |
Description
Destroys the instance of a connection component.
Do not call Destroy directly in an application. Instead, call Free, which verifies that the reference to the connection component is not nil before calling Destroy
Destroy closes all active datasets and closes its connection before freeing all internal resources.