API:Datasnap.DSConnect.TDSProviderConnection.GetServer

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetServer: IAppServer; override;

C++

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

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DSConnect.pas
Datasnap.DSConnect.hpp
Datasnap.DSConnect TDSProviderConnection

Description

Returns the IAppServer interface of the application server.

Datasnap.DSConnect.TDSProviderConnection.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