RAD Studio VCL Reference
TADOConnection.Destroy Destructor

Destroys the bitmap button object.

destructor Destroy; override;
virtual __fastcall ~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.


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!