TMedConnection.Connected TMedConnection

property Connected: Boolean ;

Description

Setting this property to true opens the connection. In case ConnType is ctMEDSRV this implies establishing connection to Mediator server. See description of TedConnection component for more information about properties which should be set before opening the connection.

Setting this property to false will close the connection. Before closing the connection, all datasets associated with this connection will also be closed.

Reading Connected property value allows to determine what is the current connection status.