DataSource Element (XMLA)

APPLIES TO:yesSQL Server Analysis ServicesyesAzure Analysis Services

Contains an out-of-line data source binding for the parent Batch or Process element.

Syntax


<Batch> <!-- or Process>  
...  
   <DataSource>  
      <DatabaseID>...</DatabaseID>  
      <DataSourceID>...</DataSourceID>  
   </DataSource>  
...  
</Batch>  

Element characteristics

Characteristic Description
Data type and length None
Default value None
Cardinality 0-1: Optional element that can occur once and only once.

Element relationships

Relationship Element
Parent elements Batch, Process
Child elements DatabaseID, DataSourceID

Remarks

The DataSource element represents an out-of-line binding to a data source, used by the Batch or Process command to temporarily override the data source binding for Analysis Services objects processed by the command.

For more information about out-of-line bindings, see Data Sources and Bindings (SSAS Multidimensional).

See also

Properties (XMLA)