(file) Return to setProperty.htm 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           	<td width="50%" align="bottom"><h1>Set Property CIM Operation</h1><td>
 6           	<td width="50%" align="right">
 7           	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
 8                   </td>
 9                 </tr>
10               </table>
11               <hr>
12               <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
13                 <INPUT TYPE="hidden" NAME="Operation" VALUE="GetProperty">
14                 <p>The <tt>setProperty</tt>  CIM operation sets a single property value from a CIM Instance.
15                 <p>NameSpace&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20">
16                 <p>InstanceName <INPUT TYPE="text" NAME="ClassName" SIZE=30>
17                 <p>PropertyName <INPUT TYPE="text" NAME="PropertyName" SIZE=30>
18                 <p>Newvalue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" name="T1" size="30">
19                 <p><INPUT TYPE="submit" VALUE="Submit" name="Submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
20                 <INPUT TYPE="reset" VALUE="Reset">
21                 <p>
22 karl  1.1     </form>
23               
24               <hr>
25               &nbsp;
26               <hr>
27               <h2>Return Request</h2>
28            If unsuccessful, one of the following status codes MUST be returned
29               by this method, where the first applicable error in the list (starting with
30               the first element of the list, and working down) is the error returned. Any
31               additional method-specific interpretation of the error in is given in
32               parentheses.
33               <UL>
34                 <LI>CIM_ERR_ACCESS_DENIED
35                 <LI>CIM_ERR_INVALID_NAMESPACE
36           
37                 <LI>CIM_ERR_INVALID_PARAMETER (including
38                 missing,duplicate, unrecognized or otherwise incorrect parameters)
39           
40                 <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist in the specified
41                 namespace)
42                 <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the requested
43 karl  1.1       CIM Instance does not exist in the specified namespace)
44                 <LI>CIM_ERR_NO_SUCH_PROPERTY (the CIM Instance does exist, but the
45                 requested CIMProperty does not)
46                 <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
47               </UL>
48               <hr>
49               <h2>Additional Information</h2>
50            The <TT>setProperty</TT> operation sets a single property value in a CIM
51               Instance in the target Namespace.&nbsp;
52               <p>NameSpace The NameSpace parameter is a string that defines the target
53               namespace.&nbsp;
54               <p>InstanceName The InstanceName input parameter specifies the name of
55               the Instance (model
56               path) for which the CIMProperty value is to be updated.&nbsp;
57               <p>PropertyName The PropertyName input parameter specifies the name of
58               the CIMProperty whose
59               value is to be updated.&nbsp;
60               <p>Newvalue The NewValue input parameter specifies the new value for the
61               CIMProperty (which
62               may be NULL).&nbsp;
63               <hr>
64 karl  1.1     <h2>    Pegasus C++ API as defined in Operations.h
65           
66           </h2>
67               <pre>    virtual void setProperty(
68                   const String&amp; nameSpace,
69           		const CIMReference&amp; instanceName,
70           		const String&amp; propertyName,
71           		const CIMValue&amp; newValue = CIMValue()) = 0;
72           
73           </pre>
74             <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
75                Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
76           
77                <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>)
78                for more information on Pegasus</font>
79           
80                <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
81               S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Monday, March 26, 2001 02:37:32 PM<!--webbot bot="Timestamp" i-CheckSum="50314" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
82                Copyright @ The Open Group 2001&nbsp;</font>
83           
84             </body>
85 karl  1.1 </html>
86           

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2