WindowsUpdateAdministrator.RevokeWindowsUpdateActionApproval Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Revokes approval for an update action previously approved via ApproveWindowsUpdateAction.
public:
virtual void RevokeWindowsUpdateActionApproval(Platform::String ^ updateId, Platform::String ^ action) = RevokeWindowsUpdateActionApproval;
void RevokeWindowsUpdateActionApproval(winrt::hstring const& updateId, winrt::hstring const& action);
public void RevokeWindowsUpdateActionApproval(string updateId, string action);
function revokeWindowsUpdateActionApproval(updateId, action)
Public Sub RevokeWindowsUpdateActionApproval (updateId As String, action As String)
Parameters
- updateId
-
String
Platform::String
winrt::hstring
The unique ID associated with an update (in order to identify it).
- action
-
String
Platform::String
winrt::hstring
The string associated with the action that the administrator wants to approve.
Remarks
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.