adTempus API
PreviousUpNext
ShutdownOptionsEnum Enumeration

Options that determine the behavior of a RestartComputerTask.

C++
enum ShutdownOptionsEnum {
  roRestart = 1,
  roForceAppsClosed = 2
};
C#
public enum ShutdownOptionsEnum {
  roRestart = 1,
  roForceAppsClosed = 2
}
Visual Basic
Public Enum ShutdownOptionsEnum
  roRestart = 1
  roForceAppsClosed = 2
End Enum
Members
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