/// <summary> /// <para>From DMTF Spec:</para>This operation is used to modify an existing CIM Instance in the target Namespace. The Instance MUST already exist. /// </summary> /// <param name="settings"></param> /// <param name="defaultNamespace"></param> /// <returns>The CimXml request as a string.</returns> public static void ModifyInstance(CimXmlWriter cxw, ModifyInstanceOpSettings settings, CimName defaultNamespace) { #region Actual XML Request /* */ #endregion // Set the Method Name cxw.WriteIMethodCallStartElement("ModifyInstance"); // Set the namespace cxw.WriteCimNamespace(defaultNamespace); //<IPARAMVALUE NAME="ModifiedInstance"> cxw.WriteIParameterElement(); cxw.WriteCimNameAttributeString("ModifiedInstance"); cxw.WriteCimInstance(settings.ModifiedInstance); //</IPARAMVALUE> cxw.WriteEndElement(); cxw.WriteIncludeQualifiers(settings.IncludeQualifiers); cxw.WritePropertyList(settings.PropertyList); //</IMETHODCALL> cxw.WriteEndElement(); }