Gives the number of enterprise servers associated with a broker.
|
Syntax:
|
RqRts (service/server name, supervisor password)
|
Parameters:
|
service/server name: An Alpha variable or constant with a service name.
supervisor password: An Alpha variable or constant with the password specified in the Broker initialization file.
|
Returns:
|
enterprise servers: a numeric value; the number of enterprise server that are registered for this service, if service name was passed, or the total number of enterprise servers registered by the broker.
|
Example:
|
RqRts ('Data Server', 'Secret')
|
Exception:
|
This function is supported only while using the Broker as a middleware.
|
See also:
|
The Online and Rich Client Samples projects (program ES02 and RES02)
|