API:Datasnap.Win.MConnect.TDispatchConnection.GetServer

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

function GetServer: IAppServer; override;

C++

virtual Datasnap::Midas::_di_IAppServer __fastcall GetServer();

Description

Returns the IAppServer interface of the application server.

Datasnap.Win.MConnect.TDispatchConnection.GetServer inherits from Datasnap.DBClient.TCustomRemoteServer.GetServer. All content below this line refers to Datasnap.DBClient.TCustomRemoteServer.GetServer.

Returns the IAppServer interface of the application server.

Descendant classes override this function to return the interface of the application server after establishing a connection. As implemented in TCustomRemoteServer, GetServer always returns nil (Delphi) or NULL (C++).

See Also