ModifyServiceSettings method of the Msvm_MetricService class
Modifies the setting data for the service.
Syntax
uint32 ModifyServiceSettings(
[in] string SettingData,
[out] CIM_ConcreteJob REF Job
);
Parameters
-
SettingData [in]
-
Contains an embedded instance of the Msvm_MetricServiceSettingData class that contains the modified setting data for the service.
-
Job [out]
-
If the operation is performed asynchronously, this method will return 4096, and this parameter will contain a reference to an object derived from CIM_ConcreteJob.
Return value
This method returns one of the following values.
Return code/value | Description |
---|---|
|
Success. |
|
Method parameters checked, job started. |
|
Failed. |
|
Access denied. |
|
Not supported. |
|
Status is unknown. |
|
Time-out. |
|
Invalid parameter. |
|
System is in use. |
|
Invalid state for this operation. |
|
Incorrect data type. |
|
System is not available. |
|
Out of memory. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Namespace |
Root\Virtualization\V2 |
MOF |
|
DLL |
|