Sun WBEM SDK Developer's Guide

Displaying Instances

Before you create a new instance of a class, it is useful to view the instances of the class to see what properties and methods they contain.

How to Display Instances of an Existing Class
  1. In the class inheritance tree of the CIM WorkShop window, select the class for which you want to view instances.

  2. To display the Instances window:

    • Click Action->Instances->Deep Enumeration or Shallow Enumeration.

      or

    • Click the Show Instances icon on the CIM WorkShop toolbar.

      or

    • Right click a class and select either Deep Enumeration or Shallow Enumeration from the pop-up dialog box.

The Instances window is displayed. If the selected class has instances, the instances are displayed in the left frame of the Instances window. If the selected class does not have instances, the left frame of the Instances window is empty.