PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP


New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
  • Modification 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>.Priority (Function)
In french: <Variable Connexion>.Priorité
HFSQL Client/ServerAvailable only with this kind of connection
Used to find out and modify the priority of the calling application.
Remark: The higher the priority is, the faster the application requests will be processed by the server. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
New in version 22
iPhone/iPad This function is now available for iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for Android applications.
Example
// Describe the connection
MyConnection is Connection
 
// Give a maximum priority to the application
MyConnection.Priority(10)
Syntax

Finding out the priority of the calling application Hide the details

<Result> = <Connection>.Priority()
<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>: Connection variable
Name of the Connection variable that describes the connection to the HFSQL server.

Modifying the priority of the calling application Hide the details

<Result> = <Connection>.Priority(<Priority>)
<Result>: Integer
Previous value of the priority for the application.
<Connection>: Connection variable
Name of the Connection variable that describes the connection to the HFSQL server.
<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 <Connection variable>.InfoServerRights and <Connection variable>.ModifyServerRights).
The rights to modify the priority are not required to consult or reduce the priority of the current application.
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment