PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
  • Stopping server
  • Managing rights
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
<Connection variable>.StopServer (Function)
In french: <Variable Connexion>.ArrêteServeur
HFSQL Client/ServerAvailable only with this kind of connection
Stops an HFSQL server. Then, the server can be restarted by HStartServer.
Remark: To perform this action, the user must have specific rights on the server. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Describe the connection
MyConnection is Connection
 
// Open the connection
MyConnection.OpenConnection()
...
MyConnection.StopServer()
Syntax
<Result> = <Connection>.StopServer()
<Result>: Boolean
  • True if the server was stopped,
  • False if an error occurred. HError is used to identify the error.
<Connection>: Connection variable
Name of the Connection variable that describes connection for which the server must be stopped.
Remarks

Stopping server

If Client applications are currently used when the server is stopped, an error message ("Server not available") will be displayed during the next action performed by the client application on the server.
Remark: The server may not be restarted immediately once it has been stopped. Indeed, the operating system does not immediately close the connections already established betweeen the clients computers and the server. Wait a few minutes (depending on the system time-out) before restarting the server.

Managing rights

Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment