Compartilhar via


RebootBehavior Enumeration

 

Applies To: Windows Server Update Services

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

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Syntax

[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum RebootBehavior
[SerializableAttribute]
[ComVisibleAttribute(true)]
public enum class RebootBehavior
[<SerializableAttribute>]
[<ComVisibleAttribute(true)>]
type RebootBehavior
<SerializableAttribute>
<ComVisibleAttribute(True)>
Public Enumeration RebootBehavior

Members

Member name Description
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.

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.

NeverReboots

The update does not require the user to restart the computer during or after the update is installed or uninstalled.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top