Home | Sign in | English EN
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

HClusterState (Function)
In French: HClusterEtat

Returns the status of a HFSQL cluster by interrogating its coordinator.

Note: This function is reserved for an advanced use. We recommend that you use the HFSQL Control Center to manage a HFSQL cluster.

Note: From version 19, HFSQL is the new name of HyperFileSQL.
IF HClusterState("clustermanager.mydomain.com", "secret") = 5 THEN
STC_Alert = "CAUTION: the cluster is waiting for synchronization!"

<Result> = HClusterState(<Coordinator> , <Password>)
<Result>: Integer
Status of the cluster. The possible values are as follows:
0An error occurred during the call to the coordinator.

ErrorInfo returns more details about the error.

1The cluster is stopped.

It can be restarted by HClusterStart.

2The cluster is started.

It can be suspended by HClusterStop.

3The cluster is being stopped.
4The cluster is being started.
5All the nodes of the cluster currently connected to the coordinator are waiting to be synchronized.
<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 given when installing the cluster.

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