IUpdateSearcher interface (wuapi.h)

Searches for updates on a server.

Inheritance

The IUpdateSearcher interface inherits from the IDispatch interface. IUpdateSearcher also has these types of members:

Methods

The IUpdateSearcher interface has these methods.

 
IUpdateSearcher::BeginSearch

Begins execution of an asynchronous search for updates. The search uses the search options that are currently configured.
IUpdateSearcher::EndSearch

Completes an asynchronous search for updates.
IUpdateSearcher::EscapeString

Converts a string into a string that can be used as a literal value in a search criteria string.
IUpdateSearcher::get_CanAutomaticallyUpgradeService

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).
IUpdateSearcher::get_ClientApplicationID

Identifies the current client application.
IUpdateSearcher::get_IncludePotentiallySupersededUpdates

Gets and sets a Boolean value that indicates whether the search results include updates that are superseded by other updates in the search results.
IUpdateSearcher::get_Online

Gets and sets a Boolean value that indicates whether the UpdateSearcher goes online to search for updates.
IUpdateSearcher::get_ServerSelection

Gets and sets a ServerSelection value that indicates the server to search for updates.
IUpdateSearcher::get_ServiceID

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

Returns the number of update events on the computer.
IUpdateSearcher::put_CanAutomaticallyUpgradeService

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).
IUpdateSearcher::put_ClientApplicationID

Identifies the current client application.
IUpdateSearcher::put_IncludePotentiallySupersededUpdates

Gets and sets a Boolean value that indicates whether the search results include updates that are superseded by other updates in the search results.
IUpdateSearcher::put_Online

Gets and sets a Boolean value that indicates whether the UpdateSearcher goes online to search for updates.
IUpdateSearcher::put_ServerSelection

Gets and sets a ServerSelection value that indicates the server to search for updates.
IUpdateSearcher::put_ServiceID

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

Synchronously queries the computer for the history of the update events.
IUpdateSearcher::Search

Performs a synchronous search for updates. The search uses the search options that are currently configured.

Remarks

You can create an instance of this interface by using the UpdateSearcher coclass. Use the Microsoft.Update.Searcher program identifier to create the object.

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