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

Diff for /pegasus/cgi/htdocs/Attic/DeleteClass.html between version 1.5 and 1.6

version 1.5, 2001/06/12 14:32:25 version 1.6, 2001/06/30 15:28:09
Line 2 
Line 2 
   <body bgcolor="#CCCCCC">   <body bgcolor="#CCCCCC">
     <table width="100%">     <table width="100%">
       <tr>       <tr>
         <td width="50%" align="bottom"><h1>DeleteClass</h1><td>          <td width="50%" align="bottom"><h1>DeleteClass 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 name="DeleteClass" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">     <form name="DeleteClass" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
       <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteClass">       <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteClass">
       <input type="hidden" name="hostip" value="localhost">        <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
       <input type="hidden" name="portnum" value="5988">        <INPUT TYPE="hidden" NAME="debug" VALUE="">
       <p>NameSpace <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">        <p>This deleteClass CIM Operation deletes a single Class from the target Namespace
       <p>ClassName <INPUT TYPE="text" NAME="ClassName" SIZE=30>        <p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">&nbsp;
       <p><INPUT TYPE="submit" VALUE="DeleteClass">        String that defines the target namespace. See <a
       <p><INPUT TYPE="reset" VALUE="Reset">        href="getnamespaces.html">NameSpace
         Operations</a> for more information
         <p><b>ClassName</b><b>&nbsp; </b><INPUT TYPE="text" NAME="ClassName" SIZE=30>&nbsp;&nbsp;
         Name of the class to be deleted
         <p><INPUT TYPE="submit" VALUE="DeleteClass">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <INPUT TYPE="reset" VALUE="Reset">
     </form>     </form>
   
   
       <hr>
       <h2>Additional Information</h2>
   
   
       The <TT>DeleteClass</TT> method deletes a single CIM Class from the
           target Namespace.&nbsp;
       <p><b>NameSpace</b> The nameSpace parameter is a string that defines
           the target namespace.
       <p><b>ClassName</b> The <TT>className</TT> input parameter defines the name
           of the Class to be deleted.&nbsp;
       <hr>
       <h2>Return</h2>
       If successful, the specified Class (including any subclasses
           and any instances) MUST have been removed by the CIM Server.  The
           operation MUST fail if any one of these objects cannot be deleted.
   
           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_NOT_FOUND (the CIM Class to be deleted does not exist)
               <LI>CIM_ERR_CLASS_HAS_CHILDREN (the CIM Class has one or more
                   subclasses which cannot be deleted)
               <LI>CIM_ERR_CLASS_HAS_INSTANCES (the CIM Class has one or more
                   instances which cannot be deleted)
               <LI>CIM_ERR_FAILED (some other unspecified error occurred)
           </UL>
       <hr>
       <h2>
       C++ API</h2>
       <pre>
       virtual void deleteClass(
           const String&amp; nameSpace,
           const String&amp; className) = 0;
      </pre>
    <script>    <script>
    DeleteClass.hostip.value = opener.top.hostip;         document.DeleteClass.hostaddress.value = top.hostAddress;
    DeleteClass.portnum.value = opener.top.portnum;         document.DeleteClass.debug.value = top.debug;
          document.DeleteClass.NameSpace.value = top.NameSpace;
    window.focus();    window.focus();
    </script>    </script>
  


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2