IUpdate.Decline Method ()
Applies To: Windows Server Update Services
Declines the update for deployment.
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
abstract Decline : unit -> unit
Cannot find the update to decline.
You cannot decline the update if the server is a replica WSUS server (if IsReplicaServer is true).
If the update is currently approved, this method removes the approval from the update. To determine if an update is declined, call IsDeclined. Declining the update does not affect clients that have already received the approved update. If this is an issue, you may need to approve the update again using a different action. For example, if you approved an update to be installed on the clients and later declined the update, you should change the approval action to uninstall to remove the update from the clients.
Declining an update removes all approvals for all revisions of the update.
A bundled update represents multiple child updates. The children may be explicitly or implicitly deployable. Declining a bundled update also declines its children.
This operation requires WSUS Administrator privileges.
Return to top