Products Downloads


French version


 

 

This function reads the definition of an association in the client configuration file.

 

Caution: this function must be used in the client part of the program.

 

Context

  • Windows client,

  • Mobile client,

  • Java client,

  • Adelia Web client,

  • Adelia Cloud client.

 

Parameters

ALPHA(30)

LogicalServerName

Name of the association's logical server.

ALPHA(30)

PhysicalServerName

Name of the association's physical server.

Output parameter.

Specific value:

- *LOCAL: the logical server points to a local connection (without using Adelia Middleware)

ALPHA(30)

DBName

Name of the database used by the association.

Output parameter.

Specific values:

- *DFT: the server's default database is used.

- *NONE: no database is used.

BOOL

ReturnCode

Operation return code:

*TRUE if the operation was carried out correctly.

*FALSE if not.

 

Example

LogicalServerName = 'MY_SERVER'

CALL_DLL 'VATOOLBX.DLL' 'VaToolBxQueryAssociation' LogicalServerName PhysicalServerName DBName ReturnCode

 

List of the VaToolBx functions by topic

 

↑ Top of page


  • Aucune étiquette