This function is used to add the definition of a physical server to the list of physical servers read in the client configuration file. If the same name already exists, the old occurrence is replaced.
Important: This function must be used in the program's client part.
Context
Windows client,
Java client,
Adelia Cloud client.
Parameters
ALPHA(n) |
ServerName |
Name of the physical server. |
ALPHA(n) |
Description |
Description of the physical server. |
ALPHA(n) |
Host |
TCP/IP address or host name of the physical server. |
ALPHA(n) |
PortNumber |
Physical server's access port number. |
ALPHA(n) |
Profile |
Connection profile. |
ALPHA(n) |
Password |
Connection password. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if it was not.
|
Example
ServerName = 'SITE_LONDON'
Description = 'site in London'
Host = '192.108.50.45'
PortNumber = '910'
Profile = 'MY_PROFILE'
Password = 'PASSWORD'
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxAddPhysicalServer' ServerName Description Host PortNumber Profile Password ReturnCode
List of the VaToolBx functions by topic