GetServerSIDPtr 

(RPC Manager Library)

Description:              This function returns a pointer to a variable that holds the session ID for the current server for the specified service.

Returns:                    Pointer

Usage:                       Steady State or subroutine call

Format:                      \RPCManager\GetServerSIDPtr(Service [, OptGUID]);

Parameters:             Service     { text }  { required }  { no default }

                                              The name by which the service is known.

                                    OptGUID     { text }  { optional }  { default: (see note) }

                                              An optional parameter indicating the GUID of 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 AppMod.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.