The IUIResourceMgr::RebootSystem method, in Configuration Manager, initiates a system reboot.
Note |
---|
This method cannot be used to restart the system unless there is already is a pending system restart from Configuration Manager (for example, due to a software distribution program, a software update installation or NAP). |
[IDL] HRESULT RebootSystem(); |
Parameters
None.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
- The method succeeded.
Requirements
UIResource.dll.
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Send comments about this topic to Microsoft.