Win32_PatchFile class

The Win32_PatchFile association WMI class relates an Installer check with any setting information it requires.

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_PatchFile : Win32_SettingCheck
{
  Win32_FileSpecification REF Check;
  Win32_Patch             REF Setting;
};

Members

The Win32_PatchFile class has these types of members:

Properties

The Win32_PatchFile class has these properties.

Check

Data type: Win32_FileSpecification

Access type: Read-only

Qualifiers: Key, Dynamic

Reference to the instance that represents the properties of a file specification available to the update.

Setting

Data type: Win32_Patch

Access type: Read-only

Qualifiers: Key, Dynamic

Reference to the instance that represents the properties of the update applied to the associated file.

Remarks

The Win32_PatchFile class is derived from Win32_SettingCheck.

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