Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Configure WMI class method configures the associated instance of Win32_Product to the specified install state and level.
Note
For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.
Syntax
uint32 Configure(
[in] uint32 InstallState,
[in] uint32 InstallLevel,
[in] string Options
);
Parameters
-
InstallState [in]
-
Installation state. Can be one of the following values.
Value Meaning - 1
Default - 2
Local - 3
Source -
InstallLevel [in]
-
Installation level. Can be one of the following values.
Value Meaning - 1
Default - 2
Minimum - 3
Maximum -
Options [in]
-
The command line options for configure. These should be in the form of property**=**setting.
Return value
Return code | Description |
---|---|
|
Successful completion |
|
RPC Server Fault Error |
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Namespace |
Root\CIMV2 |
MOF |
|
DLL |
|