共用方式為


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

[Provider("MSIProv"), Dynamic]
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, Dynamic

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, Dynamic

Reference to the instance that represents the properties of any resource used in the process of installing, upgrading, or patching the product.

Requirements

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