Datasnap.Win.MConnect.TDispatchConnection.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.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect TDispatchConnection

Description

Returns the IAppServer interface of the application server.

Client datasets call GetServer to set the value of their AppServer property. This allows them to access providers on the remote application server.

GetServer ensures that there is a connection and then returns an IAppServer interface that can be used to communicate with providers on the application server. To use other methods of the application server's interface, use the AppServer property instead.

See Also