getRemoteSystemHosts()
The function dyn_string getRemoteSystemHosts(string sSystem); returns the host names of the system sSystem. In case of redundancy, it returns the host name of both servers otherwise the host name of the first system only.
Synopsis
dyn_string getRemoteSystemHosts(string sSystem);
Parameters
Parameter | Description |
---|---|
sSystem | System sSystem |
Return value
The function returns the host names of the system.
Error
Description
The function dyn_string getRemoteSystemHosts(string sSystem); returns the host names of the system sSystem. In case of redundancy, it returns the host names of both servers otherwise the host name of the first system only.
Example
main()
{
string sSystem = "System1";
DebugN(getRemoteSystemHosts(sSystem));
}
Assignment
Redundancy functions
Availability
CTRL