DAC for MySQL

TmySQLDatabase.Methods.Disconnect

Previous Next
Since v2.5.3

Closes connection with database.

Syntax:

procedure Disconnect;

Description:

Call Disconnect() to set the Connected property of a component to False. When Connected is False, the connection to database is closed.

See also:Connected property.
Connect() method.