Win32_ProgIDSpecification class
The Win32_ProgIDSpecification WMI class represent any programmatic identifier (ProgID) that must be registered during a given installation.
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_ProgIDSpecification : CIM_Check
{
string Caption;
string CheckID;
boolean CheckMode;
string Description;
string Name;
string Parent;
string ProgID;
string SoftwareElementID;
uint16 SoftwareElementState;
uint16 TargetOperatingSystem;
string Version;
};
Members
The Win32_ProgIDSpecification class has these types of members:
Methods
The Win32_ProgIDSpecification class has these methods.
| Method | Description |
|---|---|
| Invoke |
Evaluates a particular check. The details of how the method evaluates a particular check in a CIM context are described by the non-abstract CIM_Check subclasses. |
Properties
The Win32_ProgIDSpecification class has these properties.
- Caption
-
- Data type: string
- Access type: Read-only
Short textual description of the object.
- CheckID
-
- Data type: string
- Access type: Read-only
Identifier used in conjunction with other keys to uniquely identify the check.
- CheckMode
-
- Data type: boolean
- Access type: Read-only
Whether the condition is expected to exist in the environment. When TRUE, the condition is expected to exist (for example, a file is expected to be on a system), so the Invoke method is expected to return TRUE.
- Description
-
- Data type: string
- Access type: Read-only
Description of the object.
- Name
-
- Data type: string
- Access type: Read-only
Name used to identify the software element.
- Parent
-
- Data type: string
- Access type: Read-only
Program identifier for any version-independent programs.
- ProgID
-
- Data type: string
- Access type: Read-only
Programmatic identifier.
- SoftwareElementID
-
- Data type: string
- Access type: Read-only
Identifier for the software element.
- SoftwareElementState
-
- Data type: uint16
- Access type: Read-only
State of a software element.
Value Meaning - 1
Deployable
- 2
Installable
- 3
Executable
- 4
Running
- TargetOperatingSystem
-
- Data type: uint16
- Access type: Read-only
Target operating system of the software element. The possible values for this property are as follows.
- Version
-
- Data type: string
- Access type: Read-only
Software element. Values should be in the form [Major].[Minor].[Revision] or [Major].[Minor][letter][revision].
Remarks
The Win32_ProgIDSpecification class is derived from CIM_Check.
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