IUpdateSession interface (wuapi.h)

Represents a session in which the caller can perform operations that involve updates. For example, this interface represents sessions in which the caller performs a search, download, installation, or uninstallation operation.

Inheritance

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

Methods

The IUpdateSession interface has these methods.

 
IUpdateSession::CreateUpdateDownloader

Returns an IUpdateDownloader interface for this session.
IUpdateSession::CreateUpdateInstaller

Returns an IUpdateInstaller interface for this session.
IUpdateSession::CreateUpdateSearcher

Returns an IUpdateSearcher interface for this session.
IUpdateSession::get_ClientApplicationID

Gets and sets the current client application. (IUpdateSession.get_ClientApplicationID)
IUpdateSession::get_ReadOnly

Gets a Boolean value that indicates whether the session object is read-only.
IUpdateSession::get_WebProxy

Gets and sets the proxy settings that are used to access the server. (Get)
IUpdateSession::put_ClientApplicationID

Gets and sets the current client application. (IUpdateSession.put_ClientApplicationID)
IUpdateSession::put_WebProxy

Gets and sets the proxy settings that are used to access the server. (Put)

Remarks

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

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