computerNameAppServer

computerNameAppServer(): String;

The computerNameAppServer method of the Application class returns the computer name of the application server when the application is running in JADE thin client mode.

If the application is not running in thin client mode, this method functions like the Application class computerName method; that is, it returns the name of the workstation on which the application is running. The code fragment in the following example shows the use of the computerNameAppServer method.

if isMultiUser then
    return dbServerComputerName;
endif;
return computerNameAppServer;