eventHost()

Returns the host name the event manager is running on.

Synopsis

dyn_string eventHost();

Parameters

None

Return value

dyn_string (in a single system the host the Event Manager is running on and an empty string). In a redundant system the function returns the left and the right computer.

in a redundant System:

[1] = Left Event

[2] = Right Event

In a non-redundant system:

[1] = event

[2] = "" (empty string)

Description

Returns the host name. In a single system, the function returns the name of the host the Event Manager is running on as well as an empty string. In a redundant system, the function returns the left and right computers (the System Management- Diagnostics-System overview displays the left and the right computer if your system is redundant).

Example

main()
{
   dyn_string host;
   host = eventHost();
   DebugN(host);
}

Assignment

Miscellaneous functions

Availability

CTRL