Partager via


MSFT_CAU_InstallUpdateInfo class

A dynamic WMI class that represents the result from the InstallUpdates method.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[ClassVersion("1.0.0"), dynamic, provider("CAUWMIV2"), AMENDMENT]
class MSFT_CAU_InstallUpdateInfo : MSFT_CAU_DownloadUpdateInfo
{
  uint32   UpdateResultCode;
  sint32   UpdateErrorCode;
  datetime UpdateTimestamp;
  string   UpdateDesc;
  string   UpdateId;
  string   UpdateTitle;
  boolean  RebootRequired;
  boolean  LongRebootHint;
};

Members

The MSFT_CAU_InstallUpdateInfo class has these types of members:

Properties

The MSFT_CAU_InstallUpdateInfo class has these properties.

LongRebootHint

Data type: boolean

Access type: Read-only

Gets a value that indicates whether the update can result in a longer reboot. Updates that are marked in the service pack category or that are greater than 100 megabytes in size may cause long reboots (restart) after the installation, should a restart be required.

RebootRequired

Data type: boolean

Access type: Read-only

Gets a value that indicates whether the node requires a reboot after installing the update.

UpdateDesc

Data type: string

Access type: Read-only

Gets the description of the update.

This property is inherited from MSFT_CAU_DownloadUpdateInfo.

UpdateErrorCode

Data type: sint32

Access type: Read-only

Gets the error code for a download or installation operation.

This property is inherited from MSFT_CAU_DownloadUpdateInfo.

UpdateId

Data type: string

Access type: Read-only

Gets the unique identifier for the update.

This property is inherited from MSFT_CAU_DownloadUpdateInfo.

UpdateResultCode

Data type: uint32

Access type: Read-only

Gets the result code for a download or installation operation.

This property is inherited from MSFT_CAU_DownloadUpdateInfo.

Succeeded (0)

Failed (1)

Canceled (2)

UpdateTimestamp

Data type: datetime

Access type: Read-only

Gets the UTC timestamp when the update was downloaded or installed.

This property is inherited from MSFT_CAU_DownloadUpdateInfo.

UpdateTitle

Data type: string

Access type: Read-only

Gets the title of the update.

This property is inherited from MSFT_CAU_DownloadUpdateInfo.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\ClusterUpdate
MOF
CAUWMIv2.mof
DLL
CauWmiV2.dll