Data.Win.ADODB.TADOConnection.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TADOConnection();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOConnection |
Description
Destroys the TADOConnection.
Do not call Destroy directly in an application. Instead, call Free. Free verifies that the ADO connection is not nil, and only then calls Destroy.
Destroy performs the following tasks:
- Closes the connection.
- Destroys its list of associated datasets.
- Checks for unprocessed connection events.
- Destroys its connection interface.
- Calls the inherited destructor.