RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomADODataSet.Destroy Destructor

Destroys the TCustomADONETConnector instance.

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

Do not call Destroy directly in an application. Usually destruction of datasets is handled automatically by Delphi. If an application creates its own instances of a dataset, however, and does not assign an Owner that is responsible for freeing the dataset, then the application should call Free, which verifies that the dataset reference is not nil before calling Destroy. 

Destroy performs the following tasks: 

Closes the dataset. 

Disconnects from the associated database. 

Calls the inherited destructor. 

 

Designer 

FieldDefs 

ADONETDb.TCustomADONETConnector.Create 

Free

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!