Export (0) Print
Expand All

IUpdateDownloader::IsForced property

Gets and sets a Boolean value that indicates whether the Windows Update Agent (WUA) forces the download of updates that are already installed or that cannot be installed.

This property is read/write.

Syntax


HRESULT put_IsForced(
  [in]   VARIANT_BOOL value
);

HRESULT get_IsForced(
  [out]  VARIANT_BOOL *retval
);

Property value

VARIANT_TRUE specifies that WUA is to force the updates to be downloaded; otherwise, VARIANT_FALSE.

Error codes

Returns S_OK if successful. Otherwise, returns a COM or Windows error code.

This method can also return the following error codes.

NameMeaning
WU_E_INVALID_OPERATION

The computer cannot access the update site.

Remarks

This method returns WU_E_INVALID_OPERATION if the object that is implementing the interface is locked down.

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]

Header

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

See also

IUpdateDownloader

 

 

Community Additions

ADD
Show:
© 2014 Microsoft