Compartilhar via


SaveProperties method of the CIM_NumericSensor class

Requests that the Device capture its current configuration, setup and/or state information in a backing store. This is handled more generally by the ConfigurationData subclass of SettingData. Therefore, this method is deprecated.

The information returned by this method could be used at a later time (via the RestoreProperties method), to return a Device to its present "condition". This method may not be supported by all Devices. The method should return 0 if successful, 1 if the request is not supported, and some other value if any other error occurred. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.

Syntax

uint32 SaveProperties();

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.

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_NumericSensor