API:Datasnap.Win.TConnect.TLocalConnection.GetServer
Delphi
function GetServer: IAppServer; override;
C++
virtual Datasnap::Midas::_di_IAppServer __fastcall GetServer();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.Win.TConnect.pas Datasnap.Win.TConnect.hpp |
Datasnap.Win.TConnect | TLocalConnection |
Description
Returns the IAppServer interface of the application server.
Datasnap.Win.TConnect.TLocalConnection.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++).