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