Skip to content

TCustomConnection.Destroy

Remove the TCustomconnection instance from memory.

Declaration

Source position: db.pas line 2267

public 
destructor TCustomConnection.Destroy;  override;

Description

Destroy closes the connection, and then calls the inherited destructor.

Errors

If an exception is raised during the disconnect process, an exception will be raise, and the instance is not removed from memory.

See also

Name Description
TCustomConnection.Close Close the connection.