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.
Deprecated description: Enables or disables the numeric sensor.
This method is deprecated. Instead we recommend that you use the RequestStateChange method.
Syntax
uint32 EnableDevice(
  [in] boolean Enabled
);
Parameters
- 
Enabled [in] 
- 
Indicates whether to enable the numeric sensor. true to enable the sensor; otherwise false. 
Return value
The possible return values are:
- 
0 The operation completed successfully. 
- 
1 The operation was not completed because it is not supported. 
Requirements
| Minimum supported client | None supported | 
| Minimum supported server | Windows Server 2016 | 
| Namespace | Root\HyperVCluster\v2 | 
| MOF | 
 | 
| DLL | 
 |