Datasnap.Win.MConnect.TDispatchConnection.GetConnected

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Unit: Datasnap.Win.MConnect
Parent: TDispatchConnection

Delphi

function GetConnected: Boolean; override;

C++

virtual bool __fastcall GetConnected();

Description

Returns the value of the Connected property.

GetConnected is the protected implementation of the Connected property. It uses the AppServer property (set by the DoConnect method of a TDispatchConnection descendant) to determine whether a connection is established.

If a connection is established, GetConnected returns true. Otherwise, GetConnected returns false.

See Also