IUpdateSearcher::ServiceID property

Gets and sets a site to search when the site to search is not a Windows Update site.

This property is read/write.

Syntax

HRESULT put_ServiceID(
  [in]  BSTR value
);

HRESULT get_ServiceID(
  [out] BSTR *retval
);

Property value

A new site to search that is not a Windows Update site.

Error codes

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

Remarks

The site that is not a Windows Update site that is specified by the value of the ServiceID property is searched only if the value of the ServerSelection property is ssOthers.

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

IUpdateSearcher