3.1.4.3.2.1.1.30 ImageSave

The ImageSave command<376> saves a database back to a location or file that is specified when the database loads by using the ImageLoad command.

     <xsd:complexType name="ImageSave">
     <xsd:all>
       <xsd:element name="Object" type="ObjectReference" />
       <xsd:element name="Data" type="xsd:boolean" minOccurs="0" />
     </xsd:all>
   </xsd:complexType>

Element

Default value

Description

Object

[Required]

The Database object to ImageSave. The ObjectReference type is defined in ObjectReference Type (section 3.1.4.3.2.1.1.1).

Data

False

A flag to indicate whether the image data is to be returned as part of the ExecuteResponse (section 3.1.4.3.2.2) message.

The return result type for the ImageSave command is xmla-e:emptyresult when Data contains the default value False. When the Data element is set to true, the result of the ImageSave command has the following response definition.

             <xsd:element name="root">
               <xsd:complexType>
                 <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                   <xsd:element name="row" type="row" />
                 </xsd:sequence>
               </xsd:complexType>
             </xsd:element>
               <xsd:simpleType name="uuid">
                 <xsd:restriction base="xsd:string">
                   <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-
                                       [0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}" />
                 </xsd:restriction>
               </xsd:simpleType>
               <xsd:complexType name="xmlDocument">
                 <xsd:sequence>
                   <xsd:any />
                 </xsd:sequence>
               </xsd:complexType>
               <xsd:complexType name="row">
                 <xsd:sequence>
                   <xsd:element sql:field="Data" name="Data" type="xsd:string" />
                 </xsd:sequence>
               </xsd:complexType>