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

File: [Pegasus] / pegasus / cgi / htdocs / Attic / setProperty.htm (download) / (as text)
Revision: 1.3, Sat Jun 30 14:28:09 2001 UTC (23 years ago) by karl
Branch: MAIN
CVS Tags: version_1_01, version_0_99_1, version_0_99, version_0_79_4, test, pep_88, merge_of_dev, mday-merge-start, mday-merge-pegasus/src/Pegasus/Server, mday-merge-pegasus/src/Pegasus/Common, mday-2-0-patches, main, local, dev_dead, dev, VERSION_2_1_RELEASE_HEAD, VERSION_2_1_RELEASE_BRANCH, VERSION_2_1_RELEASE, VERSION_2_1_1_RELEASE, VERSION_2_01_01, VERSION_2_00_RC_4, VERSION_2_00_RC_3, VERSION_2_00_RC_2, VERSION_2_00_RC_1, VERSION_2_00_BRANCH, VERSION_1_10, VERSION_1_09, VERSION_1_08, VERSION_1_07, TEST, SNAPSHOT_1_04, RELEASE_2_3_2-testfreeze, RELEASE_2_3_2-root, RELEASE_2_3_2-releasesnapshot, RELEASE_2_3_2-branch-freeze, RELEASE_2_3_2-branch, RELEASE_2_3_1-root, RELEASE_2_3_1-branch, RELEASE_2_3_0-root, RELEASE_2_3_0-msg-freeze, RELEASE_2_3_0-branch, RELEASE_2_2_1-snapshot, RELEASE_2_2_0_0-release, RELEASE_2_2_0-root, RELEASE_2_2_0-branch, RELEASE_2_2-root, PRE_LICENSE_UPDATE_2003, POST_LICENSE_UPDATE_2003, PEGASUS_FC_VERSION_2_2, LOCAL_ASSOCPROV-ROOT, LOCAL_ASSOCPROV-BRANCH
Changes since 1.2: +10 -4 lines
CGI Client update for references

<html>
  <body bgcolor="#CCCCCC">
    <table width="100%">
      <tr>
	<td width="50%" align="bottom"><h1>Set Property CIM Operation</h1><td>
	<td width="50%" align="right">
	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif">
        </td>
      </tr>
    </table>
    <hr>
    <form name="SetProperty" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
      <INPUT TYPE="hidden" NAME="Operation" VALUE="GetProperty">
      <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
      <INPUT TYPE="hidden" NAME="debug" VALUE="">
      <p>The <tt>setProperty</tt>  CIM operation sets a single property value from a CIM Instance.
      <p>NameSpace&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2">
      <p>InstanceName <INPUT TYPE="text" NAME="ClassName" SIZE=30>
      <p>PropertyName <INPUT TYPE="text" NAME="PropertyName" SIZE=30>
      <p>Newvalue&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="text" name="T1" size="30">
      <p><INPUT TYPE="submit" VALUE="Submit" name="Submit">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <INPUT TYPE="reset" VALUE="Reset">
    </form>

    <hr>
    &nbsp;
    <hr>
    <h2>Return Request</h2>
 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_INVALID_NAMESPACE

      <LI>CIM_ERR_INVALID_PARAMETER (including
      missing,duplicate, unrecognized or otherwise incorrect parameters)

      <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist in the specified
      namespace)
      <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the requested
      CIM Instance does not exist in the specified namespace)
      <LI>CIM_ERR_NO_SUCH_PROPERTY (the CIM Instance does exist, but the
      requested CIMProperty does not)
      <LI>CIM_ERR_FAILED (some other unspecified error occurred)</LI>
    </UL>
    <hr>
    <h2>Additional Information</h2>
 The <TT>setProperty</TT> operation sets a single property value in a CIM
    Instance in the target Namespace.&nbsp;
    <p>NameSpace The NameSpace parameter is a string that defines the target
    namespace.&nbsp;
    <p>InstanceName The InstanceName input parameter specifies the name of
    the Instance (model
    path) for which the CIMProperty value is to be updated.&nbsp;
    <p>PropertyName The PropertyName input parameter specifies the name of
    the CIMProperty whose
    value is to be updated.&nbsp;
    <p>Newvalue The NewValue input parameter specifies the new value for the
    CIMProperty (which
    may be NULL).&nbsp;
    <hr>
    <h2>    Pegasus C++ API as defined in Operations.h

</h2>
    <pre>    virtual void setProperty(
        const String&amp; nameSpace,
		const CIMReference&amp; instanceName,
		const String&amp; propertyName,
		const CIMValue&amp; newValue = CIMValue()) = 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 -->Friday, June 29, 2001 06:46:49 PM<!--webbot bot="Timestamp" i-CheckSum="55165" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     Copyright @ The Open Group 2001&nbsp;</font>
   <script>
	   document.SetProperty.hostaddress.value = top.hostAddress;
       document.SetProperty.debug.value = top.debug;
       document.SetProperty.NameSpace.value = top.NameSpace;
	   window.focus();
   </script>
  </body>
</html>


No CVS admin address has been configured
Powered by
ViewCVS 0.9.2