1 karl 1.1 <html>
2 <body bgcolor="#CCCCCC">
3 <table width="100%">
4 <tr>
|
5 karl 1.6 <td width="50%" align="bottom"><h1>Enumerate Instance Names CIM Operation</h1><td>
6 <td width="50%" align="right">
7 <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
|
8 karl 1.1 </td>
9 </tr>
10 </table>
|
11 karl 1.3 <hr>
|
12 karl 1.6 <form name="EnumerateInstanceNames" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
|
13 karl 1.1 <INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateInstanceNames">
|
14 karl 1.8 <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
15 <INPUT TYPE="hidden" NAME="debug" VALUE="">
|
16 karl 1.3 <p>
17
18 <a name="TOP"></a>
19
|
20 karl 1.9 The <TT>enumerateInstances</TT> CIM Operation enumerates instances of a CIM
|
21 karl 1.3 Class in the target Namespace.
22 <p><b><a href="#NameSpace">NameSpace</a></b>
|
23 karl 1.7 <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2"> String that defines the target namespace. See <a href="getnamespaces.html">NameSpace
|
24 karl 1.3 Operations</a> for more information.
25 <p><b><a href="#ClassName">ClassName</a></b> <INPUT TYPE="text" NAME="ClassName" SIZE=30> Defines
26 name of the Class
27 for which instance names are to be retrieved. This must be a legal
28 class in the repository
29 <p><INPUT TYPE="submit" VALUE="Submit Request">
30 <INPUT TYPE="reset" VALUE="Reset">
|
31 karl 1.1 </form>
|
32 karl 1.3
33 <hr>
|
34 karl 1.6 <h2>RETURN</h2>
|
35 karl 1.3 If successful, the method returns zero or more named
36 Instances that meet the required criteria.
37
38 If unsuccessful, one of the following status codes MUST be returned
39 by this method, where the first applicable error in the list (starting
40 with the first element of the list, and working down) is the error
41 returned. Any additional method-specific interpretation of the error in
42 is given in parentheses.
43
44 <UL>
45 <LI>CIM_ERR_ACCESS_DENIED
46 <LI>CIM_ERR_NOT_SUPPORTED
47 <LI>CIM_ERR_INVALID_NAMESPACE
48 <LI>CIM_ERR_INVALID_PARAMETER (including missing,
49 duplicate, unrecognized or otherwise incorrect parameters)
50 <LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the
51 basis for this enumeration does not exist)
|
52 karl 1.5 <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
|
53 karl 1.3 </UL>
54 <hr>
55 <h2>Additional Information</h2>
56 <p><b><a name="NameSpace">NameSpace</a></b> The NameSpace parameter is a string that defines the target
57 namespace.
58 <p><b><a name="ClassName">
59
60 ClassName</a></b> The ClassName input parameter defines the Class that is the
61 basis for the enumeration. The ClassName input must be in the
62 repository
63
64
65
|
66 karl 1.4
67 <p><a href="#TOP">Go To Top</a>
|
68 karl 1.3 <hr>
69 <h2>C++ Call</h2>
|
70 karl 1.4
|
71 karl 1.3 <PRE>
|
72 karl 1.9 virtual Array<InstanceDecl> enumerateInstanceNames(
|
73 karl 1.3 const String& nameSpace,
|
74 karl 1.9 const String& className;
|
75 karl 1.5 </PRE>
76 <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
77 Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
78
79 <p style="margin-top: 0; margin-bottom: 0"> <font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>)
80 for more information on Pegasus</font>
81
82 <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
|
83 karl 1.9 S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Wednesday, January 30, 2002 07:31:56 AM<!--webbot bot="Timestamp" i-CheckSum="19263" endspan -->
|
84 karl 1.5 Copyright @ The Open Group 2001 </font>
|
85 karl 1.8 <script>
86 document.EnumerateInstanceNames.hostaddress.value = top.hostAddress;
87 document.EnumerateInstanceNames.debug.value = top.debug;
88 document.EnumerateInstanceNames.NameSpace.value = top.NameSpace;
89 window.focus();
90 </script>
|
91 karl 1.1 </body>
92 </html>
|
93 karl 1.3
|