共用方式為


Win32_SoftwareElementCheck class

This Win32_SoftwareElementCheck association WMI class relates an Installer element with any condition or locational information that a feature may require.

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_SoftwareElementCheck : CIM_SoftwareElementChecks
{
  CIM_Check             REF Check;
  Win32_SoftwareElement REF Element;
  uint16                    Phase;
};

Members

The Win32_SoftwareElementCheck class has these types of members:

Properties

The Win32_SoftwareElementCheck class has these properties.

Check

Data type: CIM_Check

Access type: Read-only

Qualifiers: Key, Dynamic

Reference to a CIM_Check instance.

Element

Data type: Win32_SoftwareElement

Access type: Read-only

Qualifiers: Key, Dynamic

Reference to a Win32_SoftwareElement instance.

Phase

Data type: uint16

Access type: Read-only

Referenced check is an in-state check or a next-state check.

Value Meaning
1
In-State
2
Next-State

Remarks

The Win32_SoftwareElementCheck class is derived from CIM_SoftwareElementChecks.

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