Datasnap.Win.SConnect.ITransport.Connected

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: public
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: ITransport

Delphi

property Connected: Boolean read GetConnected write SetConnected;

C++

__property bool Connected = {read=GetConnected, write=SetConnected};

Description

Indicates whether the connection to the application server is established.

Set Connected to true to connect to the application server. Set Connected to false to close a connection.

Read the Connected property to verify that the connection is open before reading from or writing to the application server.

See Also