共用方式為


IInstallationBehavior interface

Represents the installation and uninstallation options of an update.

Members

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

  • Properties

Properties

The IInstallationBehavior interface has these properties.

Property Access type Description

CanRequestUserInput

Read-only

Gets a Boolean value thast indicates whether the installation or uninstallation of an update can prompt for user input.

Impact

Read-only

Gets an InstallationImpact enumeration that indicates how the installation or uninstallation of the update affects the computer.

RebootBehavior

Read-only

Gets an InstallationRebootBehavior enumeration that specifies the restart behavior that occurs when you install or uninstall the update.

RequiresNetworkConnectivity

Read-only

Gets a Boolean value that indicates whether the installation or uninstallation of an update requires network connectivity.

 

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_IInstallationBehavior is defined as D9A59339-E245-4DBD-9686-4D5763E39624