This function is used to add the definition of a logical server to the list of logical 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,
Event Adelia client.
Parameters
ALPHA(30) |
ServerName |
Name of the logical server. |
ALPHA(50) |
Description |
Description of the logical server. |
BOOL |
LocalConversion |
*TRUE to specify a local conversion. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if it was not. |
Example
ServerName = 'MY_SERVER'
Description = 'my server'
LocalConversion = *TRUE
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxAddLogicalServer' ServerName Description LocalConversion ReturnCode
List of the VaToolBx functions by topic