ExitWindows
Exits the Windows operating system in a specified manner.
| Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
|---|---|---|---|---|---|---|
| ExitWindows | Module Activity | Asynchronous | Supported | Not supported | Supported | Not supported |
Syntax
- numExitCode
- A numeric code specifying how Windows should be exited:
Value Description 0 Restart 1 Log off 2 Shut down
Returned value
No returned values.
Examples
| Tag Name | Expression |
|---|---|
| ExitWindows( 1 ) |