共用方式為


IUpdateSession2 interface

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.

Members

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

  • Properties

Properties

The IUpdateSession2 interface has these properties.

Property Access type Description

UserLocale

Read/write

Gets and sets the preferred locale for which update information is retrieved.

 

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

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

IID

IID_IUpdateSession2 is defined as 91CAF7B0-EB23-49ED-9937-C52D817F46F7

See also

IUpdateSession