|
|
|
|
|
- Operating mode
- Customizing the display of messages
<Connection variable>.DisconnectClient (Function) In french: <Variable Connexion>.DéconnecteClient
Available only with this kind of connection
Displays a message on the Client computers and disconnects the application. The affected Client computers are those specified in the HClient structure. // Describe the connection MyConnection is Connection  // Disconnect all users from the "MAILBOX" database HClient.Database = "MAILBOX" MyConnection.DisconnectClient("Caution: You will be disconnected soon", 300)
Syntax
<Result> = <Connection>.DisconnectClient(<Disconnection message> , <Display duration>)
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs.
<Connection variable>.DisconnectClient is a blocking function: the rest of program will be run when the different clients are disconnected.
<Connection>: Connection variable Name of the Connection variable that describes the connection to use. <Disconnection message>: Character string Message that will be displayed on the client computer before the disconnection. <Display duration>: Integer ou 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 Operating mode The client computer specified in the HClient structure displays the message during the specified duration and runs EndProgram when the message box is closed. Customizing the display of messages HOnServerCall is used to customize the management of message display on the client computer. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|