ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL Client/Server functions
  • Modification rights
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Finds out and modifies the priority of the calling application.
Remark: The higher the priority is, the faster the application requests will be processed by the server.
Example
// Give a maximum priority to the application
HPriority("MyConnection", 10)
Syntax

Finding out the priority of the calling application Hide the details

<Result> = HPriority(<Connection>)
<Result>: Integer
Value of the priority for the application. This value is found between -10 (low priority) and 10 (high priority).
By default, the priority is set to 0 when the application is started (standard priority).
<Connection>: Character string or Connection variable
Connection to the HFSQL server. This connection corresponds to:

Modifying the priority of the calling application Hide the details

<Result> = HPriority(<Connection> , <Priority>)
<Result>: Integer
Previous value of the priority for the application.
<Connection>: Character string or Connection variable
Connection to the HFSQL server. This connection corresponds to:
<Priority>: Integer
New value of the priority that will be assigned to the client application. This value is found between -10 (low priority) and 10 (high priority).
By default, the priority is set to 0 when the application is started (standard priority).
Remarks

Modification rights

The rights to modify the priority are required to increase the priority of the current application. This right corresponds to the hRightsPriority constant (used in HInfoServerRights and HModifyServerRights).
The rights to modify the priority are not required to consult or reduce the priority of the current application.
Component: wd290hf.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help