Datasnap.Win.MConnect.TDispatchConnection.GetConnected

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetConnected: Boolean; override;

C++

virtual bool __fastcall GetConnected();

Properties

Type Visibility Source Unit Parent
function protected
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect TDispatchConnection

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