You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2022. It is now read-only.
##Method Signature
Protected Function ShutdownInitiate(Message As String = "", Reboot As Boolean = False, Timeout As Integer = 0, ForceQuit As Boolean = False, Reason As Integer = - 1) As Boolean
##Parameters
Name
Type
Comment
Message
String
The human-readable reason for shutting down (Optional)
Reboot
Boolean
If True, reboot instead of shutting down (Optional)
TimeOut
Integer
The length of time, in seconds, to wait before shutting down (Optional)
ForceQuit
Boolean
If True, unresponsive processes are killed (Optional)
Reason
Integer
The major and minor shutdown reason code (Optional)
##Return value
Returns True on success.
##Notes
Shuts down, reboots, or logs off the computer with extended options.