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

File: [Pegasus] / pegasus / cgi / htdocs / Attic / DeleteClass.html (download) / (as text)
Revision: 1.3, Tue Mar 27 17:55:17 2001 UTC (23 years, 3 months ago) by karl
Branch: MAIN
CVS Tags: version_0_97_3, version_0_97_2, version_0_97_1, version_0_97, version_0_96, version_0_95, stable_0_95, stable
Changes since 1.2: +69 -8 lines
add frames and new functions

<html>
  <body bgcolor="#CCCCCC">
    <table width="766">
      <tr>
	<td width="387" align="bottom"><h1>Delete Class CIM Operation</h1><td width="67">
	<td width="292" align="right">
	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
        </td>
      </tr>
    </table>
    <hr>
    <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
      <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteClass">
    
    The <TT>DeleteClass</TT> method deletes a single CIM Class from the
	target Namespace.&nbsp;<p>NameSpace <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20">&nbsp;&nbsp;&nbsp;
      Defines the target namespace from which the class will be delted
      <p>ClassName <INPUT TYPE="text" NAME="ClassName" SIZE=30>&nbsp;&nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <INPUT TYPE="reset" VALUE="Reset">
      <p>&nbsp;
    </form>
    
    <hr>
    <h2>Return Results</h2>
    <p>

 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>Addtitional Information</h2>
    
    The <TT>DeleteClass</TT> method deletes a single CIM Class from the
	target Namespace.&nbsp;
    <p>The NameSpace parameter is a string that defines the
	target namespace \Ref{NAMESPACE}&nbsp;
    <p>The ClassName input parameter defines the name of the
	Class to be deleted.&nbsp;
    <hr>
    <h2>Pegasus API in operations.h</h2>
    <pre>
    virtual void deleteClass(
        const String&amp; nameSpace,
        const String&amp; className) = 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 -->Monday, March 26, 2001 02:57:40 PM<!--webbot bot="Timestamp" i-CheckSum="50226" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     Copyright @ The Open Group 2001&nbsp;</font>

  </body>
</html>

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2