Vcl.OleServer.TOleServer.GetServer
Delphi
function GetServer: IUnknown; virtual;
C++
virtual System::_di_IInterface __fastcall GetServer();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Vcl.OleServer.pas Vcl.OleServer.hpp |
Vcl.OleServer | TOleServer |
Description
Returns an interface for the COM server.
GetServer descendants call GetServer from the implementation of their Connect methods. GetServer obtains an interface for the COM server described by ServerData. The ConnectKind property indicates how GetServer can obtain the interface.