WindowsUpdateAdministrator.RevokeWindowsUpdateApproval(String) 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 ApproveWindowsUpdate.
public:
virtual void RevokeWindowsUpdateApproval(Platform::String ^ updateId) = RevokeWindowsUpdateApproval;
void RevokeWindowsUpdateApproval(winrt::hstring const& updateId);
public void RevokeWindowsUpdateApproval(string updateId);
function revokeWindowsUpdateApproval(updateId)
Public Sub RevokeWindowsUpdateApproval (updateId As String)
Parameters
- updateId
-
String
Platform::String
winrt::hstring
The unique ID associated with an update (in order to identify it).
Remarks
This call will fail in any of these cases:
- RegisterForAdministration wasn't previously called to register a WindowsUpdateAdministrator on the device.
- The updateId provided doesn't match a previously approved update.