RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDispatchConnection.GetServer Method

Returns the IAppServer interface of the application server.

Pascal
function GetServer: IAppServer; override;
C++
virtual __fastcall IAppServer GetServer();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!