EnableDevice method of the Sensor class
This method is deprecated. Instead we recommend that you use the RequestStateChange method.
Enables or disables the sensor.
This method is inherited from CIM_LogicalDevice.
uint32 EnableDevice( [in] boolean Enabled );
Indicates whether to enable the sensor. True to enable the sensor; otherwise false.
A return code that indicates whether the operation completed successfully.
The operation completed successfully.
The operation was not completed because it is not supported.
|Minimum supported client
|Minimum supported server
||Windows Server 2008