|
|
|
|
|
- Customization
- Use conditions
<Connection variable>.SendMessageToClient (Function) In french: <Variable Connexion>.EnvoieMessageVersClient
Available only with this kind of connection
Displays a message on the client computers. The affected Client computers are those specified in the HClient structure.
MaConnexion is Connection
...
HClient.Database = "BAL"
MaConnexion.SendMessageToClient("Attention : Déconnexion imminente", 300)
MaConnexion is Connection
...
HClient.Database = "MaBase"
HClient.Login = "Admin"
MaConnexion.SendMessageToClient("Test d'envoi de message", 15)
MaConnexion is Connection
...
HClient.Database = "MaBase"
HClient.File = "Client.fic"
MaConnexion.SendMessageToClient("Vous utilisez le fichier Client", 300)
MaConnexion is Connection
...
HClient.Computer = "Machine1"
HClient.Login = "Admin"
MaConnexion.SendMessageToClient("Attention : Déconnexion imminente", 300)
Syntax
<Result> = <Connection>.SendMessageToClient(<Message> , <Display duration>)
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs.
<Connection variable>.SendMessageToClient is a blocking function while the message is being sent to the server. The application continues to run once the message is received by the server.
<Connection>: Connection variable Name of the Connection variable that describes the connection to use. <Message>: Character string Message that will be displayed on the client computer. <Display duration>: Integer or Duration Display duration of message (in seconds). This parameter can correspond to: - an integer corresponding to the number of seconds,
- a Duration variable,
- the duration in a readable format (e.g., 1 s).
Remarks Customization HOnServerCall is used to customize the management of message display on the client computer. Use conditions - To use this function, you must have:
- The message will be sent to the users that the client calling the function is allowed to see.
- This function can be used to send a message to all the users of an HFSQL cluster.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|