PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
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>.PriorityClient (Function)
In french: <Variable Connexion>.PrioritéClient
HFSQL Client/ServerAvailable only with this kind of connection
Modifies the priority of a client application. The applications whose priority must be modified are the client applications described in the HClient structure.
Remark: The higher the priority of client application is, the faster the requests of this application will be processed by the server. Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Describe the connection
MyConnection is Connection
 
// Define the HClient structure
HClient.Application = "MyClientApplication"
 
// Change the priority of the application
MyConnection.PriorityClient(5)
Syntax
<Result> = <Connection>.PriorityClient(<Priority>)
<Result>: Boolean
  • True if the change of priority was performed,
  • False otherwise. HError is used to identify the error.
<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
To modify the priority of the specified client application, the rights to modify the priority are required. This right corresponds to the hRightsPriority constant (used in <Connection variable>.InfoServerRights and <Connection variable>.ModifyServerRights).
Component : wd250hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment