This function is used to delete an occurrence of an association, whether it was read in the client configuration file or was added by the VaToolBxAddAssociation function.
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) |
LogicalServerName |
Name of the logical server of the association to be removed. |
ALPHA(30) |
PhysicalServerName |
Name of the physical server of the association to be removed. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was completed successfully. *FALSE if it was not. |
Note: There are three possible scenarios for the LogicalServerName and PhysicalServerName parameters:
If the LogicalServerName is not specified (*BLANK), all the associations with the specified physical server are deleted.
If the PhysicalServerName is not specified (*BLANK), all the associations with the specified logical server are deleted.
If neither of the two parameters is specified (*BLANK), all associations are deleted.
Example
LogicalServerName = 'MY_SERVER'
PhysicalServerName = 'SITE_LONDON'
CALL_DLL 'VATOOLBX.DLL' 'VaToolBxRemoveAssociation' LogicalServerName PhysicalServerName ReturnCode
List of the VaToolBx functions by topic