tumblr tracker

Shutdown

Library Reference ›› System ››
Parent Previous Next

System.Shutdown


Namespace: System


Initiates a shutdown of the system.


retval = System.Shutdown([ForceShutdown])


Parameters:

- [ForceShutdown]; optional, default is false; boolean value; if true terminates any programs that are preventing the shutdown


Returns:

True or False, depending on whether the shutdown was successfully initiated; doesn't guarantee the system was successfully shutdown; boolean value.


Example


System.Shutdown();