GetServerSIDPtr

(RPC Manager Library)

Description: Returns a pointer to a variable that holds the session ID for the current server for the specified service.
Returns: Pointer
Usage: Steady State only.
Function Groups: Network
Related to:  
Format: \RPCManager.GetServerSIDPtr(Service [, OptGUID]);
Parameters:  
Service
Required. The name by which the service is known.
OptGUID
An optional parameter that is any expression giving the 16-byte binary form of the globally unique identifier (GUID) for the application in which the service instance is located. The default is the application to which the caller belongs.
Comments: This subroutine is a member of the RPC Manager's Library, and must therefore be prefaced by \RPCManager, as shown in the "Format" section. If the application you are developing is a script application, the subroutine call must be prefaced by System\RPCManager\, and the System variable must be declared in AppRoot.src.

If the server changes, the value referenced by the returned pointer will change. This could be used by clients as a trigger to cause them to synchronize to the new server.

RPC Manager Service