Skip to content

TCustomConnection.Connected

Is the connection established or not.

Declaration

Source position: db.pas line 2272

published property Connected: Boolean;

Description

Connected is True if the connection to the server is established, False if it is disconnected. The property can be set to True to establish a connection (equivalent to calling TCustomConnection.Open, or to False to break it (equivalent to calling TCustomConnection.Close.

See also

Name Description
TCustomConnection.Open Makes the connection to the server.
TCustomConnection.Close Close the connection.