RestoreProperties method of the Sensor class
Note
This method is deprecated. Instead we recommend that you use the ApplyConfiguration property of the CIM_ConfigurationData class.
Restores a previous configuration and state of the sensor.
This method is inherited from CIM_LogicalDevice.
Syntax
uint32 RestoreProperties();
Parameters
This method has no parameters.
Return value
A return code that indicates whether the operation completed successfully.
-
0
The operation completed successfully.
-
1
The operation was not completed because it is not supported.
-
2 ...
The operation was not completed because an error occurred.
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Namespace |
Root\hardware |
MOF |
|
DLL |
|