Location Element (XMLA)
<Backup> <!-- or one of the elements listed below in the Element Relationships table --> ... <Location>
<File>...</File> <!-- for Backup and Restore only --> <DataSourceID>...</DataSourceID> <DataSourceType>...</DataSourceType> <!-- for Restore and Synchronize only --> <ConnectionString>...</ConnectionString> <!-- for Restore and Synchronize only --> <Folders>...</Folders> <!-- for Restore and Synchronize only -->
</Location> ... </Backup>
|Data type and length||None|
|Cardinality||0-n: Optional element that can occur more than once.|
|Parent elements||Backup, Restore, Synchronize|
|Child elements||See the table below.|
|Ancestor or Parent||Child Element|
|Restore||ConnectionString, DataSourceID, DataSourceType, File, Folders|
|Synchronize||ConnectionString, DataSourceID, DataSourceType, Folders|
For Backup commands, the Location element provides information about creating a remote backup file for a remote instance of Microsoft SQL Server Analysis Services.
For Restore commands, the Location element provides information about identifying and connecting to a remote Analysis Services instance, as well as the remote backup file used to restore remote partitions on that remote instance.
For Synchronize commands, the Location element describes either a data source to be used by the target instance or a remote instance defined on the source instance that must be synchronized with the target instance, depending on the value of the DataSourceType element for the parent Synchronize command.
For more information about backing up and restoring remote instances, see Backing Up and Restoring Objects (XMLA).