(file) Return to DeleteInstance.html CVS log (file) (dir) Up to [Pegasus] / pegasus / cgi / htdocs

  1 karl  1.1 <html>
  2             <body bgcolor="#CCCCCC">
  3               <table width="100%">
  4                 <tr>
  5 karl  1.3 	<td width="431" align="bottom"><h1>Delete Instance CIM Operation</h1><td width="2">
  6           	<td width="321" align="right">
  7 karl  1.1 	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif
  8           	  ">
  9                   </td>
 10                 </tr>
 11               </table>
 12               <hr>
 13               <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
 14                 <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteInstance">
 15           	  <P>The <TT>DeleteInstance</TT> method Deletes a single CIM Instance
 16           	  from the target
 17           	  Namespace based on the InstanceName parameter provided.
 18           
 19                 <p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30
 20 karl  1.4       VALUE="root/cimv2">
 21 karl  1.1       String that defines the target namespace. See <a
 22                 href="getnamespaces.html">NameSpace
 23                 Operations</a> for more information
 24           
 25                 <p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text"
 26                 NAME="InstanceName" SIZE=30>
 27                 Defines the Name of instance to be retrieved. See <a
 28                 href="EnumerateInstanceNames.html">Enumerate
 29                 Instance Names</a> for instance names for a class
 30           
 31                 <p><INPUT TYPE="submit" VALUE="Submit Request">
 32                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 33                 &nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="reset" VALUE="Reset Form">
 34           
 35                 <hr>
 36 karl  1.3       	</form>
 37 karl  1.1 
 38 karl  1.3       <h2>REQUEST RETURN&nbsp;</h2>
 39 karl  1.1 
 40 karl  1.2     <P>If successful, the specified Instance MUST have been removed by the CIM Server.
 41 karl  1.1 
 42 karl  1.2 	If unsuccessful, one of the following status codes MUST be returned by this
 43           	method, where the first applicable error in the list (starting with the first
 44           	element of the list, and working down) is the error returned. Any additional
 45           	method-specific interpretation of the error in is given in parentheses.
 46 karl  1.1 
 47 karl  1.2 	<UL>
 48           		 <LI>CIM_ERR_ACCESS_DENIED
 49           		 <LI>CIM_ERR_NOT_SUPPORTED
 50           		 <LI>CIM_ERR_INVALID_NAMESPACE
 51           		 <LI>CIM_ERR_INVALID_PARAMETER (including missing,
 52           		 duplicate,
 53           			unrecognized or otherwise incorrect parameters)
 54           		 <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist
 55           		 in the
 56           			specified namespace)
 57           		 <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the
 58           		 requested CIM
 59           			Instance does not exist in the specified namespace)
 60           		 <LI>CIM_ERR_FAILED (some other unspecified error
 61           		 occurred)</LI>
 62           	  </UL>
 63 karl  1.1       <hr>
 64           
 65 karl  1.3     <h2>
 66           
 67                 Additional Field Information</h2>
 68                 <p>
 69           
 70 karl  1.1           The <TT>DeleteInstance</TT> operation deletes a single CIM Instance
 71                     from
 72 karl  1.3           the target Namespace.&nbsp;</p>
 73                 <p>
 74 karl  1.1 
 75                     NameSpace The NameSpace parameter is a string that defines the
 76 karl  1.3           target namespace&nbsp;</p>
 77                 <p>
 78 karl  1.1 
 79                     param InstanceName The InstanceName input parameter defines the name
 80 karl  1.3           (model path) of the Instance to be deleted.&nbsp;</p>
 81                 <hr>
 82                 <h2>C++ Pegasus API as defined in Operations.h</h2>
 83                 <pre>
 84                 virtual void deleteInstance(
 85                     const String&amp; nameSpace,
 86                     const Reference&amp; instanceName) = 0;
 87                   </pre>
 88           
 89           
 90             <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
 91                Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
 92           
 93                <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>)
 94                for more information on Pegasus</font>
 95           
 96                <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
 97               S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Monday, March 26, 2001 05:16:25 PM<!--webbot bot="Timestamp" i-CheckSum="50461" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 98                Copyright @ The Open Group 2001&nbsp;</font>
 99 karl  1.1 
100             </body>
101           </html>
102           
103           

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2