Win32_ProductResource class
The Win32_ProductResource association WMI class relates instances of Win32_Product and Win32_MSIResource.
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 inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
class Win32_ProductResource
{
Win32_Product Product;
Win32_MSIResource Resource;
};
Members
The Win32_ProductResource class has these types of members:
Properties
The Win32_ProductResource class has these properties.
- Product
-
- Data type: Win32_Product
- Access type: Read-only
- Qualifiers: Key
Reference to the instance that represents the properties of a product to the MSI resource.
- Resource
-
- Data type: Win32_MSIResource
- Access type: Read-only
- Qualifiers: Key
Reference to the instance that represents the properties of any resource used in the process of installing, upgrading, or patching the product.
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 |
|
Send comments about this topic to Microsoft
Build date: 11/19/2012