Skip to content

Latest commit

 

History

History
76 lines (63 loc) · 3.67 KB

File metadata and controls

76 lines (63 loc) · 3.67 KB
title Object Element (XMLA) | Microsoft Docs
ms.custom
ms.date 03/14/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
analysis-services
docset-sql-devref
ms.tgt_pltfrm
ms.topic reference
apiname
Object Element
apilocation
apitype Schema
applies_to
SQL Server 2016 Preview
f1_keywords
urn:schemas-microsoft-com:xml-analysis#Object
microsoft.xml.analysis.object
helpviewer_keywords
Object element
ms.assetid 99470537-2c4a-4072-9613-940c41c12487
caps.latest.revision 16
author jeannt
ms.author jeannt
manager erikre

Object Element (XMLA)

Contains an object reference used by the parent element.

Syntax

  
<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>  

Element Characteristics

Characteristic Description
Data type and length None
Default value None
Cardinality See the table below.
Ancestor or Parent Cardinality
Alter 0-1: Optional element that can occur once and only once.
All others 1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element
Parent elements Alter, Backup, ClearCache, Delete, DesignAggregations, Lock, NotifyTableChange, Process, Subscribe, Synchronize
Child elements Required 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>

Remarks

The order in which identifiers appear is not important.

For Alter elements, the instance of [!INCLUDEmsCoName] [!INCLUDEssNoVersion] [!INCLUDEssASnoversion] is used as the default object if the Object element is not specified.

See Also

Properties (XMLA)