RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomConnection.Destroy Destructor

Destroys the instance of a connection component.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TCustomConnection();

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. 

 

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