ShutDown
This function stops all execution tasks and runtime modules, effectively shutting down the project.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
ShutDown | Module Activity | Asynchronous | Supported | Supported | Supported (see “Notes” below) | Supported (see “Notes” below) |
Syntax
ShutDown()
This function takes no parameters.
Returned value
This function does not return any value.
Notes
This function only stops the project runtime server. It does not close the development environment on the server, if it happens to be open.
If this function is called from a screen object or script on a client, it only stops the Viewer module on that client. On Mobile Access, it returns the user to the logon screen.
Also, when this function is used in project screens in Mobile Access, it cannot be called from the sub-routine Screen_OnClose in the Screen Script.