Datasnap.Win.MConnect.TCustomObjectBroker.GetComputerForGUID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetComputerForGUID(GUID: TGUID): string; virtual; abstract;

C++

virtual System::UnicodeString __fastcall GetComputerForGUID(const GUID &GUID) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect TCustomObjectBroker

Description

Returns a string that identifies a server machine for an interface identified by its GUID.

Call GetComputerForGUID to obtain a string that identifies a server machine on which a given interface is registered. The GUID parameter specifies the global unique identifier of the desired interface.

TCustomObjectBroker declares GetComputerForGUID as an abstract (pure virtual) method. It is implemented in descendant objects that return a string designed to work with a particular connection component.

Connection components call this method, passing in the value of their ServerGUID property. They use the return value to set the ComputerName, URL, Host, or Address property, as appropriate.

See Also