3.1.4.3.2.1.1 Command Element

The Command element contains one of the available commands that can be sent to the server.

   <xsd:complexType name="Command">
     <xsd:choice>
       <xsd:element name="Statement" type="xsd:string" minOccurs="0" />
       <xsd:element name="Create" type="Create" minOccurs="0" />
       <xsd:element name="Alter" type="Alter" minOccurs="0" />
       <xsd:element name="Delete" type="Delete" minOccurs="0" />
       <xsd:element name="Process" type="Process" minOccurs="0" />
       <xsd:element name="MergePartitions" type="MergePartitions" minOccurs="0" />
       <xsd:element name="DesignAggregations" type="DesignAggregations" minOccurs="0" />
       <xsd:element name="ClearCache" type="ClearCache" minOccurs="0" />
       <xsd:element name="Subscribe" type="Subscribe" minOccurs="0" />
       <xsd:element name="Unsubscribe" type="Unsubscribe" minOccurs="0" />
       <xsd:element name="Cancel" type="Cancel" minOccurs="0" />
       <xsd:element name="BeginTransaction" type="BeginTransaction" minOccurs="0" />
       <xsd:element name="CommitTransaction" type="CommitTransaction" minOccurs="0" />
       <xsd:element name="RollbackTransaction" type="RollbackTransaction" minOccurs="0" />
       <xsd:element name="Lock" type="Lock" minOccurs="0" />
       <xsd:element name="Unlock" type="Unlock" minOccurs="0" />
       <xsd:element name="Backup" type="Backup" minOccurs="0" />
       <xsd:element name="Restore" type="Restore" minOccurs="0" />
       <xsd:element name="Synchronize" type="Synchronize" minOccurs="0" />
       <xsd:element name="Attach" type="Attach" minOccurs="0" />
       <xsd:element name="Detach" type="Detach" minOccurs="0" />
       <xsd:element name="Insert" type="Insert" minOccurs="0" />
       <xsd:element name="Update" type="Update" minOccurs="0" />
       <xsd:element name="Drop" type="Drop" minOccurs="0" />
       <xsd:element name="UpdateCells" type="UpdateCells" minOccurs="0" />
       <xsd:element name="NotifyTableChange" type="NotifyTableChange" minOccurs="0" />
       <xsd:element name="Batch" type="Batch" minOccurs="0" />
       <xsd:element name="ImageLoad" type="ImageLoad" minOccurs="0" />
       <xsd:element name="ImageSave" type="ImageSave" minOccurs="0" />
       <xsd:element name="CloneDatabase" type="CloneDatabase" minOccurs="0" />
       <xsd:element name="SetAuthContext" type="SetAuthContext" minOccurs="0" />
       <xsd:element name="DBCC" type="DBCC" minOccurs="0" />
       <xsd:element name="RemoveDiscontinuedFeatures" type="xsd:boolean" minOccurs="0" />
     </xsd:choice>
   </xsd:complexType>

The following subsections define the types for all of the commands.

In addition to the above commands, [MS-SSAS-T] extends the allowed commands to support databases in Tabular mode with a compatibility level greater than or equal to 1200.