Options that determine the behavior of a RestartComputerTask.
enum ShutdownOptionsEnum { roRestart = 1, roForceAppsClosed = 2 };
public enum ShutdownOptionsEnum { roRestart = 1, roForceAppsClosed = 2 }
Public Enum ShutdownOptionsEnum roRestart = 1 roForceAppsClosed = 2 End Enum
Members |
Description |
roRestart = 1 |
The computer is restarted (if not set, the computer shuts down and is not restarted). |
roForceAppsClosed = 2 |
All applications are forced to close (if not set, "hung" applications or applications waiting for user input may prevent the computer from shutting down). |
adTempus API Reference version 3.0.0.0, revised 10/30/2008
|