Share via


Elemento Command (XMLA)

Contiene il comando da eseguire con il 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 elemento

Caratteristica

Descrizione

Tipo di dati e lunghezza

Nessuno

Valore predefinito

Nessuno

Cardinalità

1-1: Elemento obbligatorio che si verifica una sola volta.

Osservazioni

L'elemento Command viene utilizzato dal metodo Execute per trasmettere comandi a un'origine dati. Mentre la specifica XML for Analysis (XMLA) 1.1 supporta solo il comando Statement, MicrosoftSQL ServerAnalysis Services supporta molti comandi XMLA nuovi. Per ulteriori informazioni sui comandi XMLA supportati da Analysis Services, vedere Comandi (XMLA).

Vedere anche

Concetti

Altre risorse