| title |
Command Element (XMLA) | Microsoft Docs |
| ms.custom |
|
| ms.date |
03/14/2017 |
| ms.prod |
sql-server-2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
analysis-services |
docset-sql-devref |
|
| ms.tgt_pltfrm |
|
| ms.topic |
reference |
| apiname |
|
| apilocation |
|
| apitype |
Schema |
| applies_to |
|
| f1_keywords |
microsoft.xml.analysis.command |
Command |
urn:schemas-microsoft-com:xml-analysis#Command |
|
|
| helpviewer_keywords |
|
| ms.assetid |
9abc14df-7cbe-46bc-ba0f-f0691c19afad |
| caps.latest.revision |
31 |
| author |
jeannt |
| ms.author |
jeannt |
| manager |
erikre |
Contains the command to be executed by the Execute method.
<Execute>
...
<Command>
<Alter>...</Alter>
<!-- or -->
<Backup>...</Backup>
<!-- or -->
<Batch>...</Batch>
<!-- or -->
<BeginTransaction>...</BeginTransaction>
<!-- or -->
<Cancel>...</Cancel>
<!-- or -->
<ClearCache>...</ClearCache>
<!-- or -->
<CommitTransaction>...</CommitTransaction>
<!-- or -->
<Create>...</Create>
<!-- or -->
<Delete>...</Delete>
<!-- or -->
<DesignAggregations>...</DesignAggregations>
<!-- or -->
<Drop>...</Drop>
<!-- or -->
<Insert>...</Insert>
<!-- or -->
<Lock>...</Lock>
<!-- or -->
<MergePartitions>...</MergePartitions>
<!-- or -->
<NotifyTableChange>...</NotifyTableChange>
<!-- or -->
<Process>...</Process>
<!-- or -->
<Restore>...</Restore>
<!-- or -->
<RollbackTransaction>...</RollbackTransaction>
<!-- or -->
<SetPasswordEncryptionKey>...</SetPasswordEncryptionKey>
<!-- or -->
<Statement>...</Statement>
<!-- or -->
<Subscribe>...</Subscribe>
<!-- or -->
<Synchronize>...</Synchronize>
<!-- or -->
<Unlock>...</Unlock>
<!-- or -->
<Update>...</Update>
<!-- or -->
<UpdateCells>...</UpdateCells>
</Command>
...
</Execute>
| Characteristic |
Description |
| Data type and length |
None |
| Default value |
None |
| Cardinality |
1-1: Required element that occurs once and only once. |
| Relationship |
Element |
| Parent elements |
Execute |
| Child elements |
Alter, Backup, Batch, BeginTransaction, Cancel, ClearCache, CommitTransaction, Create, Delete, DesignAggregations, Drop, Insert, Lock, MergePartitions, NotifyTableChange, Process, Restore, RollbackTransaction, SetPasswordEncryptionKey, Statement, Subscribe, Synchronize, Unlock, Update, UpdateCells |
Remarks
The Command element is used by the Execute method to relay commands to a data source. While the XML for Analysis (XMLA) 1.1 Specification supports only the Statement command, [!INCLUDEmsCoName] [!INCLUDEssNoVersion] [!INCLUDEssASnoversion] supports many new XMLA commands. For more information about the XMLA command supported by [!INCLUDEssASnoversion], see Commands (XMLA).
XML Data Types (XMLA)
Properties (XMLA)