RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDispatchConnection.ServerGUID Property

Specifies the GUID of the application server with which to connect.

Pascal
property ServerGUID: string;
C++
__property AnsiString ServerGUID;

Use ServerGUID to specify the application server to which the client application should connect by its GUID (global unique identifier). If the value specifies a valid GUID for a registered application server, setting ServerGUID changes the value of ServerName to the class name of the corresponding COM object. 

Using ServerGUID rather than ServerName to identify the application server is more robust because it does not require the application server to be registered on the client system.

Note: Either ServerName or ServerGUID must be provided so that the dispatch connection can create and communicate with the appropriate server COM object. This is true even for connections that are not formed using DCOM, because the remote data module on the application server is always implemented as a COM object.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!