Object Element (XMLA)

 

Applies To: SQL Server 2016 Preview

Contains an object reference used by the parent element.

  
<Alter> <!-- or any of the parent elements in the Element Relationships table -->  
...  
   <Object>  
      <!-- One or more object identifiers, depending on the parent element -->  
   </Object>  
...  
</Alter>  

CharacteristicDescription
Data type and lengthNone
Default valueNone
CardinalitySee the table below.
Ancestor or ParentCardinality
Alter0-1: Optional element that can occur once and only once.
All others1-1: Required element that occurs once and only once.
RelationshipElement
Parent elementsAlter, Backup, ClearCache, Delete, DesignAggregations, Lock, NotifyTableChange, Process, Subscribe, Synchronize
Child elementsRequired Analysis Services Scripting Language (ASSL) elements. Specified by listing the ID elements of the object and its ancestors (excluding the Server object.) For example, the following Object element identifies a partition:

 <Object>

 <DatabaseID>Adventure Works DW Multidimensional 2012</DatabaseID>

 <CubeID>Adventure Works</CubeID>

 <MeasureGroupID>Internet Sales</MeasureGroupID>

 <PartitionID>Inernet_Sales_2001</PartitionID>

 </Object>

The order in which identifiers appear is not important.

For Alter elements, the instance of Microsoft SQL Server Analysis Services is used as the default object if the Object element is not specified.

Properties (XMLA)

Community Additions

ADD
Show: