Expand Minimize

CIM_AssociatedBattery class

The CIM_AssociatedBattery dependency associates a battery with a logical device. Use this association to model individual batteries that make up an uninterruptible power supply (UPS).

Important  The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

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

Syntax

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

Members

The CIM_AssociatedBattery class has these types of members:

Properties

The CIM_AssociatedBattery class has these properties.

Antecedent
Data type: CIM_Battery
Access type: Read-only

Reference to the battery. This property is inherited from CIM_Dependency.

Dependent
Data type: CIM_LogicalDevice
Access type: Read-only

Reference to the logical device that needs, or is associated with, the battery. This property is inherited from CIM_Dependency.

Remarks

The CIM_AssociatedBattery class is derived from CIM_Dependency.

WMI does not implement this class. For more information about classes derived from CIM_AssociatedBattery, see Win32 Classes.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

 

 

Show:
© 2014 Microsoft. All rights reserved.