RebootBehavior

Defines constants that indicate the computer restart behavior of an update.

Members

Member Description Value
AlwaysRequiresReboot The update requires the user to restart the computer after the update is installed or uninstalled. The user may restart the computer after installing or uninstalling other updates in the update bundle. 1
CanRequestReboot The update may require the user to restart the computer during or after the update is installed or uninstalled. The user may restart the computer after installing or uninstalling other updates in the update bundle. 2
NeverReboots The update does not require the user to restart the computer during or after the update is installed or uninstalled. 0

Requirements

Server Requires Windows Server 2003 or Windows 2000 Server SP4 and later.
Namespace

Defined in Microsoft.UpdateServices.Administration.

Assembly

Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll).

.NET Framework

Requires .NET Framework 1.1.

See Also

InstallationBehavior.RebootBehavior