UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wuapi.IAutomaticUpdates.Pause |
IAutomaticUpdates::Pause (wuapi.h) |
Pauses automatic updates. |
|
wua\iautomaticupdates_pause.htm |
wua |
42985fdf-b3b3-43f0-addb-478298bd8ebd |
12/05/2018 |
IAutomaticUpdates interface [Windows Update Agent],Pause method, IAutomaticUpdates.Pause, IAutomaticUpdates::Pause, Pause, Pause method [Windows Update Agent], Pause method [Windows Update Agent],IAutomaticUpdates interface, wua.iautomaticupdates_pause, wuapi/IAutomaticUpdates::Pause |
wuapi.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Wuapi.idl |
Wuguid.lib |
Wuapi.dll |
Windows |
19H1 |
|
|
|
|
|
|
[IAutomaticUpdates::Pause is no longer supported. Starting with Windows 10 calls to Pause always return S_OK, but do nothing.]
Pauses automatic updates.
Returns S_OK if successful. Otherwise, returns a COM or Windows error code.
This method can also return the following error codes.
Return code | Description |
---|---|
|
This method cannot be called from a remote computer. |
|
The computer could not access the update site. |
|
Automatic Updates is not enabled. |
|
Automatic Updates is paused. |
|
You cannot search for updates if the following conditions are true:
|
This method requires administrator permissions.
Automatic Updates can be paused for only eight hours. This limit varies in different binary versions. Callers should call the Resume method after calling Pause as soon as they no longer need to pause automatic updating.
This method returns WU_E_INVALID_OPERATION if the object that is implementing the interface is locked down.
This method returns WU_E_AU_NOSERVICE if Automatic Updates is disabled, initializing, uninitializing, or not configured.