次の方法で共有


MSFT_CAU_DownloadUpdateInfo class

A dynamic WMI class that represents the result from the DownloadUpdates 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_DownloadUpdateInfo : MSFT_CAU_ScanUpdateInfo
{
  uint32   UpdateResultCode;
  sint32   UpdateErrorCode;
  datetime UpdateTimestamp;
  string   UpdateDesc;
  string   UpdateId;
  string   UpdateTitle;
};

Members

The MSFT_CAU_DownloadUpdateInfo class has these types of members:

Properties

The MSFT_CAU_DownloadUpdateInfo class has these properties.

UpdateDesc

Data type: string

Access type: Read-only

Gets the description of the update.

UpdateErrorCode

Data type: sint32

Access type: Read-only

Gets the error code for a download or installation operation.

UpdateId

Data type: string

Access type: Read-only

Gets the unique identifier for the update.

UpdateResultCode

Data type: uint32

Access type: Read-only

Gets the result code for a download or installation operation.

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.

UpdateTitle

Data type: string

Access type: Read-only

Gets the title of the update.

Requirements

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