Elemento Command (XMLA)
Contiene il comando che deve essere eseguito dal metodo Execute.
Sintassi
<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>
Caratteristiche degli elementi
| Caratteristica | Descrizione |
|---|---|
| Tipo di dati e lunghezza | Nessuno |
| Valore predefinito | Nessuno |
| Cardinalità | 1-1: elemento obbligatorio visualizzato una sola volta. |
Relazioni tra elementi
| Relazione | Elemento |
|---|---|
| Elementi padre | Eseguire |
| Elementi figlio | 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 |
Commenti
L'elemento Command viene usato dal metodo Execute per inoltrare comandi a un'origine dati. Mentre la specifica XML for Analysis (XMLA) 1.1 supporta solo il comando Statement, Analysis Services supporta molti nuovi comandi XMLA. Per altre informazioni sul comando XMLA supportato da Analysis Services, vedere Comandi (XMLA).