version 1.2, 2001/01/30 07:40:22
|
version 1.10, 2004/02/17 11:37:49
|
|
|
<body bgcolor="#CCCCCC"> | <body bgcolor="#CCCCCC"> |
<table width="100%"> | <table width="100%"> |
<tr> | <tr> |
<td width="50%" align="bottom"><h1>Enumerate Instance Names Operation</h1><td> |
<td width="50%" align="bottom"><h1>Enumerate Instance Names CIM Operation</h1><td> |
<td width="50%" align="right"> | <td width="50%" align="right"> |
<img border=1 src="pegasus/icons/OpenGroupLogo.gif"> |
<img border=1 src="/pegasus/icons/OpenGroupLogo.gif"> |
</td> | </td> |
</tr> | </tr> |
</table> | </table> |
<hr></hr> |
<hr> |
<form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> |
<form name="EnumerateInstanceNames" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> |
<INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateInstanceNames"> | <INPUT TYPE="hidden" NAME="Operation" VALUE="EnumerateInstanceNames"> |
<p>NameSpace |
<INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988"> |
<INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20"> |
<INPUT TYPE="hidden" NAME="debug" VALUE=""> |
<p>ClassName <INPUT TYPE="text" NAME="ClassName" SIZE=30> |
<p> |
<p><INPUT TYPE="submit" VALUE="Submit Request"> |
|
<p><INPUT TYPE="reset" VALUE="Reset"> |
<a name="TOP"></a> |
|
|
|
The <TT>enumerateInstances</TT> CIM Operation enumerates instances of a CIM |
|
Class in the target Namespace. |
|
<p><b><a href="#NameSpace">NameSpace</a></b> |
|
<INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2"> String that defines the target namespace. See <a href="enumeratenamespaces.html">NameSpace |
|
Operations</a> for more information. |
|
<p><b><a href="#ClassName">ClassName</a></b> <INPUT TYPE="text" NAME="ClassName" SIZE=30> Defines |
|
name of the Class |
|
for which instance names are to be retrieved. This must be a legal |
|
class in the repository |
|
<p><INPUT TYPE="submit" VALUE="Submit Request"> |
|
<INPUT TYPE="reset" VALUE="Reset Form"> |
</form> | </form> |
|
|
|
<hr> |
|
<h2>RETURN</h2> |
|
If successful, the method returns zero or more named |
|
Instances that meet the required criteria. |
|
|
|
If unsuccessful, one of the following status codes MUST be returned |
|
by this method, where the first applicable error in the list (starting |
|
with the first element of the list, and working down) is the error |
|
returned. Any additional method-specific interpretation of the error in |
|
is given in parentheses. |
|
|
|
<UL> |
|
<LI>CIM_ERR_ACCESS_DENIED |
|
<LI>CIM_ERR_NOT_SUPPORTED |
|
<LI>CIM_ERR_INVALID_NAMESPACE |
|
<LI>CIM_ERR_INVALID_PARAMETER (including missing, |
|
duplicate, unrecognized or otherwise incorrect parameters) |
|
<LI>CIM_ERR_INVALID_CLASS (the CIM Class that is the |
|
basis for this enumeration does not exist) |
|
<LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI> |
|
</UL> |
|
<hr> |
|
<h2>Additional Information</h2> |
|
<p><b><a name="NameSpace">NameSpace</a></b> The NameSpace parameter is a string that defines the target |
|
namespace. |
|
<p><b><a name="ClassName"> |
|
|
|
ClassName</a></b> The ClassName input parameter defines the Class that is the |
|
basis for the enumeration. The ClassName input must be in the |
|
repository |
|
|
|
|
|
|
|
|
|
<p><a href="#TOP">Go To Top</a> |
|
<hr> |
|
<h2>C++ Call</h2> |
|
|
|
<PRE> |
|
virtual Array<InstanceDecl> enumerateInstanceNames( |
|
const String& nameSpace, |
|
const String& className; |
|
</PRE> |
|
<hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration |
|
Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font> |
|
|
|
<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>) |
|
for more information on Pegasus</font> |
|
|
|
<p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED" |
|
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 --> |
|
Copyright @ The Open Group 2001 </font> |
|
<script> |
|
document.EnumerateInstanceNames.hostaddress.value = top.hostAddress; |
|
document.EnumerateInstanceNames.debug.value = top.debug; |
|
document.EnumerateInstanceNames.NameSpace.value = top.NameSpace; |
|
window.focus(); |
|
</script> |
</body> | </body> |
</html> | </html> |
|
|