GetServerNumber

(RPC Manager Library)

Description: Returns the index down the prioritized server list of the current server for the specified service. Steady state or subroutine call.
Returns: Numeric
Usage: Steady State only.
Function Groups: Network
Related to:  
Format: \RPCManager.GetServerNumber(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.


The workstation at the top of the prioritized server list will return an index of zero.

RPC Manager Service