xInfo.canShutdown(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tests whether the system can be shut down. Do not use this method. Use the version that is overridden on the Info class instead.
public:
virtual bool canShutdown(bool _silent);
public virtual bool canShutdown (bool _silent);
abstract member canShutdown : bool -> bool
override this.canShutdown : bool -> bool
Public Overridable Function canShutdown (_silent As Boolean) As Boolean
Parameters
- _silent
- Boolean
A Boolean that determines whether users are asked if they want to exit the system.
Returns
true of the system can be shut down; otherwise false.