Compartilhar via


QuiesceDevice method of the CIM_Sensor class

Note

This method is deprecated. Instead we recommend that you use the RequestStateChange method.

Temporarily suspends activity on the sensor, or re-enables the activity.

This method is inherited from CIM_LogicalDevice.

Syntax

uint32 QuiesceDevice(
  [in] boolean Quiesce
);

Parameters

Quiesce [in]

Indicates whether the numeric sensor is to temporarily suspend activity or resume activity. True to suspend activity. False to resume activity.

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 is not supported when the device is in the current state.

3 ...

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
IpmiPrv.mof
DLL
IpmiPrv.dll

See also

CIM_Sensor