EPUB | CHM | PDF

TMySQLDatabase.Methods.Destroy

Top Previous Next

Destroys the instance of a database component.

Syntax:

destructor Destroy;

Description:

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

Destroy closes all active datasets and disconnects from the database server, if necessary. It then frees the string resources allocated for the Params and DataSets properties before calling its inherited destructor.