Getting a list of classes

Use the IBMTSSVC_ConfigurationReportingService to get information about enclosure classes.

To retrieve a list of classes that the IBMTSSVC_Enclosure supports or are installed, complete the following steps.

  1. Select an IBMTSSVC_Enclosure instance as the container.
  2. Retrieve the IBMTSSVC_ConfigurationReportingService instance.
  3. Invoke the IBMTSSVC_ConfigurationReportingService.GetClassTypes () method with the following parameter specifications:
    1. Set InquiryType to 2 or 3.
    2. Set CIM_ManagedElement to the reference (CIMObjectPath) of the target IBMTSSVC_Enclosure.
The returned ClassTypes[] contains the class names of the classes that the IBMTSSVC_Enclosure supports or are installed. The IBMTSSVC_Enclosure currently supports class type IBMTSSVC_DiskDrive.