PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WinDevWebDev - Server codeWebDev - Browser codeWinDev MobileReports and QueriesWindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPadJavaPHPAjaxUser code (UMC)External languageHFSQLHFSQL Client/ServerStored proceduresHyper File 5.5OLE DBODBCNative Accesses

HClusterParameter (Function)
In French: HClusterParamètre

Reads and modifies the parameters of a HFSQL cluster.

Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Read the DNS name of the server
sDNS is string
sDNS = HClusterParameter("clustermanager.mydomain.com", "secret", hCPDNS)

InfoBuild("Use <%1> as server address in your client applications" + ...
   " to connect to the cluster.", sDNS)

Syntax

Finding out the value of a cluster parameter Hide the details

<Result> = HClusterParameter(<Coordinator> , <Password> , <Parameter>)
<Result>: Character string
Value of the parameter.
<Coordinator>: Character string (with quotes)
DNS name of the computer where the coordinator of the cluster is installed.
<Password>: Character string (with quotes)
Password used to connect to the coordinator. This password was provided when installing the cluster.
<Parameter>: Integer constant
Parameter to read. The possible values are:
hCPDNSDNS name of the cluster. This parameter is given for information only.

Note: It is important not to confuse:

  • the name identifying the cluster (corresponding to the value associated with this parameter): name that must be used to access the databases of the cluster.
  • the name identifying the coordinator (used in the <Coordinator>: parameter): DNS name of the computer on which the coordinator of the cluster was installed.
  • the name identifying the node (not used by this function): DNS name of the computer on which the new HFSQL server was installed.
hCPClientPortListening port of the client connections.

Modifying the value of a cluster parameter Hide the details

<Result> = HClusterParameter(<Coordinator> , <Password> , <Parameter> [, <New Value>])
<Result>: Character string
Former value of the parameter.
<Coordinator>: Character string (with quotes)
DNS name of the computer where the coordinator of the cluster is installed.
<Password>: Character string (with quotes)
Password used to connect to the coordinator. This password was provided when installing the cluster.
<Parameter>: Integer constant
Parameter to modify. The possible values are:
hCPDNSDNS name of the cluster. This parameter is given for information only.

Note: It is important not to confuse:

  • the name identifying the cluster (corresponding to the value associated with this parameter): name that must be used to access the databases of the cluster.
  • the name identifying the coordinator (used in the <Coordinator>: parameter): DNS name of the computer on which the coordinator of the cluster was installed.
  • the name identifying the node (not used by this function): DNS name of the computer on which the new HFSQL server was installed.
hCPClientPortListening port of the client connections.

Note: The modification of this parameter will be taken into account when restarting the cluster.

<New Value>: Optional character string (with quotes)
New value for the parameter.

Components
Windows Mobile wp190hf.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment