AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL Client/Server
  • Stopping server
  • Rights management
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
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.
Ejemplo
// Describe the connection
HDescribeConnection("MyConnection", "Julia", "Password", "MyHFServer", "MyDatabase", hAccessHFClientServer, hORead)
// Open the connection
HOpenConnection("MyConnection")
...
HStopServer("MyConnection")
Sintaxis
<Result> = HStopServer(<Connection>)
<Result>: Boolean
  • True if the server has been stopped,
  • False if an error occurs. HError is used to identify the error.
<Connection>: Character string or Connection variable
Connection for which the server must be stopped. This connection corresponds to:
Observaciones

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: Following a server shutdown, it may not be possible to restart the server immediately.. The operating system does not immediately close the connections already established between the client computers and the server. Simply wait a few minutes (depending on the operating system timeout) before restarting the server.

Rights management

  • To stop the server, the user or user group must have specific rights (hRightsStopServer constant).
  • To find out whether a user or a group of users has sufficient rights, use HInfoServerRights.
  • To modify the rights granted to a user or user group on the server, use HModifyServerRights.
Componente: wd300hf.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 12/06/2025

Señalar un error o enviar una sugerencia | Ayuda local