Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 4.09 KB

File metadata and controls

41 lines (35 loc) · 4.09 KB
title Defining and Identifying Objects (XMLA) | Microsoft Docs
ms.custom
ms.date 04/27/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology analysis-services
ms.topic reference
helpviewer_keywords
objects [XML for Analysis]
identifying objects [XML for Analysis]
XML for Analysis, objects
object references [XML for Analysis]
object identifiers [XML for Analysis]
object definitions [XML for Analysis]
XMLA, objects
ms.assetid 43b65f6d-0123-4556-81f0-c7a0b84361e5
author minewiskan
ms.author owend
manager craigg

Defining and Identifying Objects (XMLA)

Objects are identified in XML for Analysis (XMLA) commands by using object identifiers and object references, and are defined by using Analysis Services Scripting Language (ASSL) elements XMLA commands.

Object Identifiers

An object is identified by using the unique identifier of the object as defined on an instance of [!INCLUDEmsCoName] [!INCLUDEssNoVersion] [!INCLUDEssASnoversion]. Object identifiers can either be explicitly specified or determined by the [!INCLUDEssASnoversion] instance when [!INCLUDEssASnoversion] creates the object. You can use the Discover method to retrieve object identifiers for subsequent Discover or Execute method calls.

Object References

Several XMLA commands, such as Delete or Process, use an object reference to refer to an object in an unambiguous manner. An object reference contains the object identifier of the object on which a command is executed and the object identifiers of the ancestors for that object. For example, the object reference for a partition contains the object identifier of the partition, as well as the object identifiers of that partition's parent measure group, cube, and database.

Object Definitions

The Create and Alter commands in XMLA create or alter, respectively, objects on an [!INCLUDEssASnoversion] instance. The definitions for those objects are represented by an ObjectDefinition element that contains elements from ASSL. Object identifiers can be explicitly specified for all major and many minor objects by using the ID element. If the ID element is not used, the [!INCLUDEssASnoversion] instance provides a unique identifier, with a naming convention that depends on the object to be identified. For more information about how to use the Create and Alter commands to define objects, see Creating and Altering Objects (XMLA).

See Also

Object Element (XMLA)
ParentObject Element (XMLA)
Source Element (XMLA)
Target Element (XMLA)
Developing with XMLA in Analysis Services