Soap.SOAPConn.TSoapConnection.GetServer
Delphi
function GetServer: IAppServer; override;
C++
virtual Datasnap::Midas::_di_IAppServer __fastcall GetServer();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Soap.SOAPConn.pas Soap.SOAPConn.hpp |
Soap.SOAPConn | TSoapConnection |
Description
Returns an IAppServer interface for communicating with 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 a separate THTTPRIO object or call the GetSOAPServer method after setting the SOAPServerIID property.