WindowsUpdateAdministrator.StartAdministratorScan 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.
Starts a background scan for updates.
public:
virtual void StartAdministratorScan() = StartAdministratorScan;
void StartAdministratorScan();
public void StartAdministratorScan();
function startAdministratorScan()
Public Sub StartAdministratorScan ()
Remarks
This call is required for a scan to proceed if RegisterForAdministration was called with the RequireAdministratorApprovalForScans flag set.
This call will fail if:
- RegisterForAdministration was not previously called to register a WindowsUpdateAdministrator on the device, this call will fail.
- The updateId provided doesn't match any updates found by a previous scan.