Partager via


UpdateApprovalAction Enumeration

 

Applies To: Windows Server Update Services

Defines constants that indicate the action a client performs when applying the update.

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

Syntax

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

Members

Member name Description
All

Use to query all updates, regardless of their action.

Install

Client installs the update.

NotApproved

The Update will not be available for clients. This value can be used in a simple targeting ComputerTargetGroup to "override" a UpdateApproval made to the "All Computers" ComputerTargetGroup.

Uninstall

Client removes the update.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top