Share via


Deleting an Approval

 

Applies To: Windows Server Update Services

To delete an approval

  1. Retrieve an IUpdate instance of the update whose approval you want to remove.

  2. Call one of the overloaded GetUpdateApprovals methods to retrieve the approval.

  3. Call Delete to delete the approval.

You cannot remove an automatic approval rule—you can only disable the rule.

To disable an automatic approval rule

  1. Call GetInstallApprovalRules to retrieve the install approval rule.

  2. Set Enabled to false.

  3. Call Save to save the rule.