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.
An object is identified by using the unique identifier of the object as defined on an instance of Microsoft SQL Server Analysis Services. Object identifiers can either be explicitly specified or determined by the Analysis Services instance when Analysis Services creates the object. You can use the Discover method to retrieve object identifiers for subsequent Discover or Execute method calls.
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.
The Create and Alter commands in XMLA create or alter, respectively, objects on an Analysis Services 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 Analysis Services 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).