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
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
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
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.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012