Partilhar via


IUIResourceMgr::RebootSystem Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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

Concepts

UIResourceMgr Class
Software Distribution Control Panel Automation