Win32_AssociatedBattery class

[The Win32_AssociatedBattery association WMI class is no longer available for use because the uninterrupted power supply (UPS) service is no longer available. For more information, see Win32_UninterruptiblePowerSupply.]

Windows Server 2003 : The Win32_AssociatedBattery association WMI class relates a logical device and the battery it is using.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class Win32_AssociatedBattery : CIM_AssociatedBattery
{
  CIM_Battery       REF Antecedent;
  CIM_LogicalDevice REF Dependent;
};

Members

The Win32_AssociatedBattery class has these types of members:

  • Properties

Properties

The Win32_AssociatedBattery class has these properties.

Antecedent

Data type: CIM_Battery

Access type: Read-only

Qualifiers: Key

Reference to the CIM_Battery instance representing the properties of a battery used with the logical device. This property is inherited from CIM_Dependency.

Dependent

Data type: CIM_LogicalDevice

Access type: Read-only

Qualifiers: Key

Reference to the CIM_LogicalDevice instance representing the properties of a logical device using the battery. This property is inherited from CIM_Dependency.

Remarks

The Win32_AssociatedBattery class is derived from CIM_AssociatedBattery.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

End of client support

None supported

End of server support

Windows Server 2003

Namespace

Root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

See also

CIM_AssociatedBattery

Computer System Hardware Classes