IUpdateSearcher::get_CanAutomaticallyUpgradeService method

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 get_CanAutomaticallyUpgradeService(
  VARIANT_BOOL *retval
);

Parameters

retval

Return Value

None

Requirements

   
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