-api-id | -api-type |
---|---|
M:Windows.Management.Update.WindowsUpdateAdministrator.RevokeWindowsUpdateActionApproval(System.String,System.String) |
winrt method |
Windows.Management.Update.WindowsUpdateAdministrator.RevokeWindowsUpdateActionApproval(System.String,System.String)
Revokes approval for an update action previously approved via ApproveWindowsUpdateAction.
The unique ID associated with an update (in order to identify it).
The string associated with the action that the administrator wants to approve.
This call will fail in any of these cases:
- RegisterForAdministration wasn't previously called to register a WindowsUpdateAdministrator on the device.
- the updateId/action combination provided doesn't match a previously approved update action.