IUpdateSearcher::put_CanAutomaticallyUpgradeService method (wuapi.h)

Gets and sets a Boolean value that indicates whether future calls to the BeginSearch and Search methods result in an automatic upgrade to Windows Update Agent (WUA). Currently, this property's valid value corresponds to the option that does not automatically upgrade WUA.

This property is read/write.

Syntax

HRESULT put_CanAutomaticallyUpgradeService(
  VARIANT_BOOL value
);

Parameters

value

Return value

None

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Target Platform Windows
Header wuapi.h
Library Wuguid.lib
DLL Wuapi.dll

See also

IUpdateSearcher