GetOnline
Returns the connection status: online or not. D7+ Only.
function GetOnline(Connection: TSQLConnection): Boolean;
Parameters:
- Connection
- The TSQLConnection component that is connected to the
server.
Return Value:
True if connected, False if not.
Exceptions:
EDatabaseError is raised in case of
an error.
Example 5.4.
ShowMessage('The PID of this connection is ' + IntToStr(GetTTY(SQLConnection1)));