Share via


Win32_PatchPackage class

The Win32_PatchPackage WMI class describes all patch packages that have been applied to the product. For each patch package, the unique identifier for the update is provided along with information about the media image on which the update is located.

Note

For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

[Provider("MSIProv"), Dynamic]
class Win32_PatchPackage : Win32_MSIResource
{
  string Caption;
  string Description;
  string PatchID;
  string ProductCode;
  string SettingID;
};

Members

The Win32_PatchPackage class has these types of members:

Properties

The Win32_PatchPackage class has these properties.

Caption

Data type: string

Access type: Read-only

Short textual description of the CIM_Setting object.

Description

Data type: string

Access type: Read-only

Description of the CIM_Setting object.

PatchID

Data type: string

Access type: Read-only

Qualifiers: Key, Dynamic

Unique identifier for an update package.

ProductCode

Data type: string

Access type: Read-only

Qualifiers: Key, Dynamic

Product code for the product to which this update package is applied.

SettingID

Data type: string

Access type: Read-only

Identifier by which the CIM_Setting object is known.

Remarks

The Win32_PatchPackage class is derived from Win32_MSIResource.

Requirements

Minimum supported client
Windows XP
Minimum supported server
Windows Server 2003
Namespace
Root\CIMV2
MOF
Msi.mof
DLL
Msiprov.dll

See also

Installed Applications Classes