Data.Win.ADODB.TRDSConnection.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: destructor
Visibility: public
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TRDSConnection

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TRDSConnection();

Description

Destroys the instance of a connection component.

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

Destroy closes all active datasets and closes its connection before freeing all internal resources.

Destroy performs the following tasks:

  • Clears references.
  • Frees its data space object.
  • Calls the inherited destructor.

See Also