version 1.1, 2001/02/06 15:47:12
|
version 1.6, 2004/02/17 11:33:21
|
|
|
<html> | <html> |
|
<head> |
|
<script> |
|
function rTrim(tempStr){ |
|
while( tempStr.lastIndexOf(' ') == tempStr.length-1 && tempStr.length > 0 ) |
|
{ |
|
tempStr = tempStr.substring(0,tempStr.length-1) |
|
} |
|
document.DeleteInstance.InstanceName.value = tempStr; |
|
} |
|
</script> |
|
</head> |
<body bgcolor="#CCCCCC"> | <body bgcolor="#CCCCCC"> |
<table width="100%"> | <table width="100%"> |
<tr> | <tr> |
<td width="50%" align="bottom"><h1>Get Instance CIM Operation</h1><td> |
<td width="431" align="bottom"><h1>Delete Instance CIM Operation</h1><td width="2"> |
<td width="50%" align="right"> |
<td width="321" 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> |
<form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> |
<form name="DeleteInstance" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> |
<INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteInstance"> | <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteInstance"> |
|
<INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988"> |
|
<INPUT TYPE="hidden" NAME="debug" VALUE=""> |
<P>The <TT>DeleteInstance</TT> method Deletes a single CIM Instance | <P>The <TT>DeleteInstance</TT> method Deletes a single CIM Instance |
from the target | from the target |
Namespace based on the InstanceName parameter provided. | Namespace based on the InstanceName parameter provided. |
| |
<p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 |
<p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 |
VALUE="root/cimv20"> |
VALUE="root/cimv2"> |
String that defines the target namespace. See <a | String that defines the target namespace. See <a |
href="getnamespaces.html">NameSpace |
href="enumeratenamespaces.html">NameSpace |
Operations</a> for more information | Operations</a> for more information |
| |
<p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text" | <p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text" |
|
|
href="EnumerateInstanceNames.html">Enumerate | href="EnumerateInstanceNames.html">Enumerate |
Instance Names</a> for instance names for a class | Instance Names</a> for instance names for a class |
| |
<p><INPUT TYPE="submit" VALUE="Submit Request"> |
<p><INPUT TYPE="submit" VALUE="Submit Request" onClick="rTrim(document.DeleteInstance.InstanceName.value);"> |
| |
<INPUT TYPE="reset" VALUE="Reset Form"> | <INPUT TYPE="reset" VALUE="Reset Form"> |
| |
<hr> | <hr> |
|
</form> |
| |
<p><b>REQUEST RETURN - </b> |
<h2>REQUEST RETURN </h2> |
| |
If successful, the specified Instance MUST have been removed by the |
<P>If successful, the specified Instance MUST have been removed by the CIM Server. |
CIM Server. |
|
| |
If unsuccessful, one of the following status codes MUST be |
If unsuccessful, one of the following status codes MUST be returned by this |
returned by this |
method, where the first applicable error in the list (starting with the first |
method, where the first applicable error in the list (starting |
element of the list, and working down) is the error returned. Any additional |
with the |
method-specific interpretation of the error in is given in parentheses. |
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> | <UL> |
<LI>CIM_ERR_ACCESS_DENIED | <LI>CIM_ERR_ACCESS_DENIED |
|
|
<LI>CIM_ERR_FAILED (some other unspecified error | <LI>CIM_ERR_FAILED (some other unspecified error |
occurred)</LI> | occurred)</LI> |
</UL> | </UL> |
|
<hr> |
| |
|
<h2> |
| |
<hr> |
Additional Field Information</h2> |
|
<p> |
| |
The <TT>DeleteInstance</TT> operation deletes a single CIM Instance | The <TT>DeleteInstance</TT> operation deletes a single CIM Instance |
from | from |
the target Namespace. |
the target Namespace. </p> |
|
<p> |
NameSpace The NameSpace parameter is a string that defines the |
|
target namespace |
|
|
|
param InstanceName The InstanceName input parameter defines the name |
|
(model path) of the Instance to be deleted. |
|
|
|
|
|
*/ |
|
virtual void deleteInstance( |
|
| |
const String& nameSpace, |
<b> |
const Reference& instanceName) = 0; |
|
| |
|
NameSpace</b> - The NameSpace parameter is a string that defines the |
|
target namespace </p> |
<p> | <p> |
</form> |
|
| |
|
<b>InstanceName</b> - The InstanceName input parameter defines the name |
|
(model path) of the Instance to be deleted. </p> |
|
<hr> |
|
<h2>C++ Pegasus API as defined in Operations.h</h2> |
|
<pre> |
|
virtual void deleteInstance( |
|
const String& nameSpace, |
|
const Reference& instanceName) = 0; |
|
</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 -->Friday, June 29, 2001 06:23:25 PM<!--webbot bot="Timestamp" i-CheckSum="54989" endspan --> |
|
Copyright @ The Open Group 2001 </font> |
|
<script> |
|
document.DeleteInstance.hostaddress.value = top.hostAddress; |
|
document.DeleteInstance.debug.value = top.debug; |
|
document.DeleteInstance.NameSpace.value = top.NameSpace; |
|
window.focus(); |
|
</script> |
</body> | </body> |
</html> | </html> |
| |