1 mike 1.1 <html>
2 <body bgcolor="#CCCCCC">
|
3 karl 1.4 <table width="100%">
|
4 mike 1.1 <tr>
|
5 karl 1.6 <td width="50%" align="bottom"><h1>DeleteClass CIM Operation</h1><td>
|
6 karl 1.4 <td width="50%" align="right">
|
7 karl 1.2 <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
|
8 mike 1.1 </td>
9 </tr>
10 </table>
|
11 karl 1.6 <hr>
|
12 karl 1.4 <form name="DeleteClass" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
|
13 mike 1.1 <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteClass">
|
14 karl 1.6 <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
15 <INPUT TYPE="hidden" NAME="debug" VALUE="">
16 <p>This deleteClass CIM Operation deletes a single Class from the target Namespace
17 <p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
18 String that defines the target namespace. See <a
19 href="getnamespaces.html">NameSpace
20 Operations</a> for more information
21 <p><b>ClassName</b><b> </b><INPUT TYPE="text" NAME="ClassName" SIZE=30>
22 Name of the class to be deleted
23 <p><INPUT TYPE="submit" VALUE="DeleteClass">
24 <INPUT TYPE="reset" VALUE="Reset">
|
25 mike 1.1 </form>
|
26 karl 1.6
27
28 <hr>
29 <h2>Additional Information</h2>
30
31
32 The <TT>DeleteClass</TT> method deletes a single CIM Class from the
33 target Namespace.
34 <p><b>NameSpace</b> The nameSpace parameter is a string that defines
35 the target namespace.
36 <p><b>ClassName</b> The <TT>className</TT> input parameter defines the name
37 of the Class to be deleted.
38 <hr>
39 <h2>Return</h2>
40 If successful, the specified Class (including any subclasses
41 and any instances) MUST have been removed by the CIM Server. The
42 operation MUST fail if any one of these objects cannot be deleted.
43
44 If unsuccessful, one of the following status codes MUST be returned by
45 this method, where the first applicable error in the list (starting
46 with the first element of the list, and working down) is the error
47 karl 1.6 returned. Any additional method-specific interpretation of the error
48 in is given in parentheses.
49
50 <UL>
51 <LI>CIM_ERR_ACCESS_DENIED
52 <LI>CIM_ERR_NOT_SUPPORTED
53 <LI>CIM_ERR_INVALID_NAMESPACE
54 <LI>CIM_ERR_INVALID_PARAMETER (including missing, duplicate,
55 unrecognized or otherwise incorrect parameters)
56 <LI>CIM_ERR_NOT_FOUND (the CIM Class to be deleted does not exist)
57 <LI>CIM_ERR_CLASS_HAS_CHILDREN (the CIM Class has one or more
58 subclasses which cannot be deleted)
59 <LI>CIM_ERR_CLASS_HAS_INSTANCES (the CIM Class has one or more
60 instances which cannot be deleted)
61 <LI>CIM_ERR_FAILED (some other unspecified error occurred)
62 </UL>
63 <hr>
64 <h2>
65 C++ API</h2>
66 <pre>
67 virtual void deleteClass(
68 karl 1.6 const String& nameSpace,
69 const String& className) = 0;
70 </pre>
|
71 karl 1.4 <script>
|
72 karl 1.6 document.DeleteClass.hostaddress.value = top.hostAddress;
73 document.DeleteClass.debug.value = top.debug;
74 document.DeleteClass.NameSpace.value = top.NameSpace;
75 window.focus();
|
76 karl 1.5 </script>
77
|
78 mike 1.1 </body>
79 </html>
|