Data.DB.TCustomConnection.Destroy
[–] Properties | |
---|---|
Type: destructor | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TCustomConnection |
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~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.