Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TCustomConnection.Connected

Is the connection established or not.

Declaration

Source position: db.pas line 2268

published property TCustomConnection.Connected : Boolean
  read GetConnected
  write SetConnected;

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

TCustomConnection.Open

  

Makes the connection to the server.

TCustomConnection.Close

  

Close the connection.


Documentation generated on: Dec 22 2024