
<p>[MS-SSAS-T]: SQL Server Analysis Services Tabular</p><p>Intellectual Property Rights Notice for Open Specifications Documentation § Technical Documentation. Microsoft publishes Open Specifications documentation for protocols, file formats, languages, standards as well as overviews of the interaction among each of these technologies. § Copyrights. This documentation is covered by Microsoft copyrights. Regardless of any other terms that are contained in the terms of use for the Microsoft website that hosts this documentation, you may make copies of it in order to develop implementations of the technologies described in the Open Specifications and may distribute portions of it in your implementations using these technologies or your documentation as necessary to properly document the implementation. You may also distribute in your implementation, with or without modification, any schema, IDL's, or code samples that are included in the documentation. This permission also applies to any documents that are referenced in the Open Specifications. § No Trade Secrets. Microsoft does not claim any trade secret rights in this documentation. </p><p>§ Patents. Microsoft has patents that may cover your implementations of the technologies described in the Open Specifications. Neither this notice nor Microsoft's delivery of the documentation grants any licenses under those or any other Microsoft patents. However, a given Open Specification may be covered by Microsoft Open Specification Promise or the Community Promise. If you would prefer a written license, or if the technologies described in the Open Specifications are not covered by the Open Specifications Promise or Community Promise, as applicable, patent licenses are available by contacting [email protected]. § Trademarks. The names of companies and products contained in this documentation may be covered by trademarks or similar intellectual property rights. This notice does not grant any licenses under those rights. For a list of Microsoft trademarks, visit www.microsoft.com/trademarks. § Fictitious Names. The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted in this documentation are fictitious. No association with any real company, organization, product, domain name, email address, logo, person, place, or event is intended or should be inferred.</p><p>1 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Reservation of Rights. All other rights are reserved, and this notice does not grant any rights other than specifically described above, whether by implication, estoppel, or otherwise. Tools. The Open Specifications do not require the use of Microsoft programming tools or programming environments in order for you to develop an implementation. If you have access to Microsoft programming tools and environments you are free to take advantage of them. Certain Open Specifications are intended for use in conjunction with publicly available standard specifications and network programming art, and assumes that the reader either is familiar with the aforementioned material or has immediate access to it.</p><p>2 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Revision Summary Date Revision History Revision Class Comments</p><p>5/10/2016 1.0 New Initial Availability</p><p>3 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Table of Contents</p><p>4 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1 Introduction The SQL Server Analysis Services Tabular protocol provides the methods for a client to communicate with and perform operations on an analysis server that is using Tabular databases that are at compatibility level 1200 or higher. This protocol is an extension of the SQL Server Analysis Services protocol [MS- SSAS]. Sections 1.5, 1.8, 1.9, 2, and 3 of this specification are normative. All other sections and examples in this specification are informative.</p><p>1.1 Glossary This document uses the following terms: analysis server: A server that supports high performance and complex analytics for business intelligence applications. attribute hierarchy: An implied single-level hierarchy, based on a single attribute, that consists of all the members of the attribute. An all-level member can optionally be enabled for an attribute hierarchy. Data Analysis Expressions (DAX): A library of functions and operators that can be combined to build formulas and expressions in a data model. data definition language (DDL): A subset of SQL or XMLA statements that defines all the attributes and properties of a database and its objects. DDL statements typically begin with CREATE, ALTER, or DROP. hierarchy: A logical tree structure that organizes a record such that each member has one parent member and zero or more child members. JavaScript Object Notation (JSON): A text-based, data interchange format that is used to transmit structured data, typically in Asynchronous JavaScript + XML (AJAX) web applications, as described in [RFC4627]. The JSON format is based on the structure of ECMAScript (Jscript, JavaScript) objects. key performance indicator (KPI): A predefined measure that is used to track performance against a strategic goal, objective, plan, initiative, or business process. A visual cue is frequently used to communicate performance against the measure. level: A relative position in a hierarchy of data. A level is frequently used when describing how to navigate a hierarchy in an Online Analytical Processing (OLAP) database or a PivotTable report. Multidimensional Expressions (MDX): A syntax that is used for defining multidimensional objects, and for querying and manipulating multidimensional data. volatile: A condition of a formula in which the formula is calculated every time the workbook is calculated. This is unlike a non-volatile formula, which is calculated only when dependent values are changed. Web Services Description Language (WSDL): An XML format for describing network services as a set of endpoints that operate on messages that contain either document-oriented or procedure-oriented </p><p>5 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 information. The operations and messages are described abstractly and are bound to a concrete network protocol and message format in order to define an endpoint. Related concrete endpoints are combined into abstract endpoints, which describe a network service. WSDL is extensible, which allows the description of endpoints and their messages regardless of the message formats or network protocols that are used. XML namespace: A collection of names that is used to identify elements, types, and attributes in XML documents identified in a URI reference [RFC3986]. A combination of XML namespace and local name allows XML documents to use elements, types, and attributes that have the same names but come from different sources. For more information, see [XMLNS-2ED]. XML schema: A description of a type of XML document that is typically expressed in terms of constraints on the structure and content of documents of that type, in addition to the basic syntax constraints that are imposed by XML itself. An XML schema provides a view of a document type at a relatively high level of abstraction. XML schema definition (XSD): The World Wide Web Consortium (W3C) standard language that is used in defining XML schemas. Schemas are useful for enforcing structure and constraining the types of data that can be used validly within other XML documents. XML schema definition refers to the fully specified and currently recommended standard for use in authoring XML schemas. MAY, SHOULD, MUST, SHOULD NOT, MUST NOT: These terms (in all caps) are used as defined in [RFC2119]. All statements of optional behavior use either MAY, SHOULD, or SHOULD NOT.</p><p>1.2 References Links to a document in the Microsoft Open Specifications library point to the correct section in the most recently published version of the referenced document. However, because individual documents in the library are not updated at the same time, the section numbers in the documents may not match. You can confirm the correct section numbering by checking the Errata. </p><p>1.2.1 Normative References We conduct frequent surveys of the normative references to assure their continued availability. If you have any issue with finding a normative reference, please contact [email protected]. We will assist you in finding the relevant information. [JSON-SchemaVal] Internet Engineering Task Force (IETF), "JSON Schema: interactive and non interactive validation", January 2013, http://json- schema.org/latest/json-schema-validation.html</p><p>[MS-SSAS] Microsoft Corporation, "SQL Server Analysis Services Protocol".</p><p>6 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997, http://www.rfc- editor.org/rfc/rfc2119.txt</p><p>[RFC2616] Fielding, R., Gettys, J., Mogul, J., et al., "Hypertext Transfer Protocol -- HTTP/1.1", RFC 2616, June 1999, http://www.rfc- editor.org/rfc/rfc2616.txt</p><p>[RFC2818] Rescorla, E., "HTTP Over TLS", RFC 2818, May 2000, http://www.rfc-editor.org/rfc/rfc2818.txt</p><p>[RFC4627] Crockford, D., "The application/json Media Type for JavaScript Object Notation (JSON)", RFC 4627, July 2006, http://www.rfc- editor.org/rfc/rfc4627.txt</p><p>[RFC793] Postel, J., Ed., "Transmission Control Protocol: DARPA Internet Program Protocol Specification", RFC 793, September 1981, http://www.rfc- editor.org/rfc/rfc793.txt</p><p>[SOAP1.1] Box, D., Ehnebuske, D., Kakivaya, G., et al., "Simple Object Access Protocol (SOAP) 1.1", May 2000, http://www.w3.org/TR/2000/NOTE-SOAP- 20000508/</p><p>[SOAP1.2-1/2007] Gudgin, M., Hadley, M., Mendelsohn, N., et al., "SOAP Version 1.2 Part 1: Messaging Framework (Second Edition)", W3C Recommendation 27, April 2007, http://www.w3.org/TR/2007/REC-soap12- part1-20070427/</p><p>[SOAP1.2-2/2007] Gudgin, M., Hadley, M., Mendelsohn, N., et al., "SOAP Version 1.2 Part 2: Adjuncts (Second Edition)", W3C Recommendation, April 2007, http://www.w3.org/TR/2007/REC-soap12-part2-20070427</p><p>[WSDL] Christensen, E., Curbera, F., Meredith, G., and Weerawarana, S., "Web Services Description Language (WSDL) 1.1", W3C Note, March 2001, http://www.w3.org/TR/2001/NOTE-wsdl-20010315</p><p>[XMLNS] Bray, T., Hollander, D., Layman, A., et al., Eds., "Namespaces in XML 1.0 (Third Edition)", W3C Recommendation, December 2009, http://www.w3.org/TR/2009/REC-xml-names-20091208/</p><p>[XMLSCHEMA1/2] Thompson, H., Beech, D., Maloney, M., and Mendelsohn, N., Eds., "XML Schema Part 1: Structures Second Edition", W3C Recommendation, October 2004, http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/</p><p>[XMLSCHEMA2/2] Biron, P., and Malhotra, A., Eds., "XML Schema Part 2: Datatypes Second Edition", W3C Recommendation, October 2004, http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</p><p>7 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1.2.2 Informative References [MS-CSDLBI] Microsoft Corporation, "Conceptual Schema Definition File Format with Business Intelligence Annotations".</p><p>[MSDN-DEFDETAILS] Microsoft Corporation, "DefaultDetails Element (CSDLBI)", https://msdn.microsoft.com/en-us/library/hh230808.aspx</p><p>[MSDN-FSCMDX] Microsoft Corporation, "FORMAT_STRING Contents (MDX)", http://msdn.microsoft.com/en-us/library/ms146084.aspx</p><p>[MSDN-SQLXML] Microsoft Corporation, "SQLXML", http://msdn.microsoft.com/en-us/library/aa286527.aspx</p><p>[MSFT-ENTITYTYPE] Microsoft Corporation, "EntityType Element (CSDLBI)", https://technet.microsoft.com/en-us/library/hh212976.aspx</p><p>[XMLA] Microsoft Corporation and Hyperion Solutions Corporation, "XML for Analysis Specification, Version 1.1", November 2002, http://xml.coverpages.org/xmlaV11-20021120.pdf</p><p>1.3 Overview The Microsoft SQL Server Analysis Services protocol provides methods for a client to communicate with, and perform operations on, an analysis server. The Analysis Services protocol is based on SOAP and XML for Analysis (XMLA) [XMLA] and supports TCP/IP as an underlying transport mechanism in addition to HTTP/HTTPS. The base communication details of this protocol are specified in [MS-SSAS]: SQL Server Analysis Services. The SQL Server Analysis Services Tabular protocol is an extension of the SQL Server Analysis Services protocol. This extension protocol provides additional protocol messages for Tabular databases that are at compatibility level 1200 or higher. Note For the purposes of this document, "Tabular database" refers only to a Tabular database that is at compatibility level 1200 or higher. A Tabular database is administered by executing a set of commands that include, but are not limited to, the following. § XMLA-based command extensions allow an application to perform operations such as the following. § Create an object. § Alter an object. § Delete an object. § Refresh the data in an object. § JSON-based [RFC4627] commands can perform essentially the same operations. The JSON commands are sent as the string content of the Statement element in an XMLA command. § A client application can obtain the metadata of a Tabular database by using a set of DISCOVER requests. For more information about DISCOVER </p><p>8 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 requests, see [MS-SSAS] and [XMLA]. The metadata that is returned by these Discover requests is made up of the same objects and properties that are managed by the Create, Alter, Delete, Refresh, and so on commands. Section 2.2.5 defines each of the metadata objects and their properties. Section 3.1.5 defines each of the commands and references the common objects and properties that are defined in section 2.2.5. Notes on the objects, their properties, and the commands include the following. § The JSON APIs use a different naming convention than the XMLA APIs. The JSON convention uses camel casing for names. For example: § "Name" would be "name". § "DefaultMode" would be "defaultMode". § Etc. Therefore, the case of the properties and objects can be ignored in the text of this document. § Some of the properties are read-only and cannot be set explicitly by any of the commands. These properties appear only in the Discover operations for these objects. For example, the ModifiedTime and RefreshedTime properties are implicitly updated by different commands and cannot be explicitly changed. § Some properties are documented as ID-based object references. These represent links to other objects in the object tree. For example, the SortByColumnID property represents a reference to another column in the same table. The actual representation of object references is different between the JSON and XMLA commands and is described in the corresponding section. § Some properties are documented as enumerations. Their descriptions contain numeric values and strings for each accepted value. For example, SummarizeBy shows Default (1), None (2), Sum (3), etc. The XMLA commands and the TMSCHEMA Discover operations use the integer values, and the JSON commands use the string values.</p><p>1.3.1 Object Ownership Metadata objects are owned by other objects. For example, a Table object owns a collection of Column objects. The two classifications of object ownership relationships are as follows.</p><p>Strongly Typed: An object type can have a collection of child objects of a particular type. For example, a Table has a collection of objects of type Column. This in turn means that each Column object will have a well-defined Table parent object.</p><p>Weakly Typed: An object type can own a shared object type. For example, an Annotation object type can belong to a Model object, a Table object, a Column object, and so forth. This in turn means that the shared object type can belong to different parent types. The importance of recognizing the distinction between these two ownership scenarios is that commands that reference the parent/child object also specify the type of the parent.</p><p>9 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Similarly, objects can have reference links to other objects (e.g., a PerspectiveTable object can link to a Table object) and these links can also be strongly typed or weakly typed. In addition, it is important to recognize that sometimes objects have collections of child objects (e.g., a Table that has a collection of columns), and sometimes objects can have a single child object (e.g., a Column that has a single AttributeHierarchy child object).</p><p>1.3.2 Object References The table in section 2.2.5 defines the hierarchy of metadata objects in a Tabular database. One of the consequences of the hierarchy of objects is that the commands that reference a particular object are able to use the names of the ancestor objects to identify the path to the object. For example, a command to delete a PerspectiveColumn will reference the name of the PerspectiveTable and the name of the PerspectiveColumn to uniquely identify the PerspectiveColumn object. Similarly, altering a Partition object will use the name of the Table that the Partition belongs to and the name of the Partition. For illustration, the following sample JSON command creates or replaces the DimDate 2 partition object in the DimDate table in the Adventure Works database.</p><p>2 {</p><p>3 "createOrReplace": {</p><p>4 "object": {</p><p>5 "database": "Adventure Works",</p><p>6 "table": "DimDate",</p><p>7 "partition": "DimDate 2"</p><p>8 },</p><p>9 "partition": {</p><p>10 "name": "DimDate 2",</p><p>11 "source": {</p><p>12 "dataSource": "AdventureworksDW",</p><p>13 "query": [</p><p>14 "SELECT [dbo].[DimDate].* FROM [dbo].[DimDate]\r",</p><p>15 "where CalendarYear=2009"</p><p>16 ]</p><p>17 }</p><p>10 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 18 }</p><p>19 }</p><p>20 }</p><p>In addition to the name-based paths, XMLA-based commands also support object references based on integer IDs. The integer IDs are identifiers assigned by the server for each object when they are created. These IDs can be discovered and used in subsequent XMLA-based commands. The difference in the object references is illustrated as follows by using the schema of the XMLA command to alter a partition.</p><p>21 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>22 <xs:element></p><p>23 <xs:complexType></p><p>24 <xs:sequence></p><p>25 <xs:element type="row" /></p><p>26 </xs:sequence></p><p>27 </xs:complexType></p><p>28 </xs:element></p><p>29 <xs:complexType name="row"></p><p>30 <xs:sequence></p><p>31 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>32 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>33 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0" /></p><p>34 ...</p><p>35 </xs:sequence></p><p>36 </xs:complexType></p><p>37 </xs:schema></p><p>In this example, the ID field represents the integer identifier of the partition. The fields ID.Table and ID.Partition represent the name-based path to the Partition object. In an XMLA command, either the integer-based ID or the name-based path can be used to refer to the object being manipulated.</p><p>11 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 In JSON commands, the integer-based object reference is not supported. Only name-based paths to the objects can be used. The following JSON-based Alter command is an example of a JSON schema for object references.</p><p>38 "object": {</p><p>39 "description": "Path for object Partition",</p><p>40 "type": "object",</p><p>41 "properties": {</p><p>42 "database": {</p><p>43 "type": "string"</p><p>44 },</p><p>45 "table": {</p><p>46 "type": "string"</p><p>47 },</p><p>48 "partition": {</p><p>49 "type": "string"</p><p>50 }</p><p>51 },</p><p>52 "additionalProperties": false</p><p>53 },</p><p>In this case, referring to a partition requires specifying the name of the database, the name of the table, and the name of the partition.</p><p>53.1 Relationship to Other Protocols Analysis Services uses the SOAP messaging protocol for formatting requests and responses as specified either in [SOAP1.1] or in [SOAP1.2-1/2007] and [SOAP1.2-2/2007]. It transmits these messages by using HTTP [RFC2616], HTTPS [RFC2818], or TCP [RFC793]. The base messaging protocol used for Analysis Services is defined in [MS- SSAS]. This document extends that protocol to add support for messages that apply to databases in Tabular mode at compatibility level 1200 or higher.</p><p>53.2 Prerequisites/Preconditions None.</p><p>12 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 53.3 Applicability Statement This protocol supports the exchange of messages between a client and an analysis server.</p><p>53.4 Versioning and Capability Negotiation</p><p>53.4.1 Versioning This protocol includes capabilities for a client and a server to exchange versioning information by indicating whether XML elements that are sent or received need to be understood, or, if not understood, can be ignored. This is specified in [MS-SSAS] section 2.2.4.2.1.3.</p><p>53.4.2 Capability Negotiation This protocol does explicit negotiation between the client and the server for use of binary XML and compression, as specified in [MS-SSAS] section 2.1.1.</p><p>53.5 Vendor-Extensible Fields None.</p><p>53.6 Standards Assignments None.</p><p>13 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 54 Messages</p><p>54.1 Transport The transport protocol for the messages in this specification is defined in [MS- SSAS].</p><p>54.2 Common Data Types This section contains common data types used by the SQL Server Analysis Services Tabular protocol. The syntax of the definitions uses XML schemas as defined in [XMLSCHEMA1/2] and [XMLSCHEMA2/2] and Web Services Description Language (WSDL) as defined in [WSDL].</p><p>54.2.1 Namespaces This specification defines and references various XML namespaces by using the mechanisms that are specified in [XMLNS]. Although this specification associates a specific XML namespace prefix for each XML namespace that is used, the choice of any particular XML namespace prefix is implementation- specific and not significant for interoperability. The following table contains common definitions used by the SQL Server Analysis Services Tabular protocol. The syntax of the definitions uses XML schemas as defined in [XMLSCHEMA1/2] and [XMLSCHEMA2/2], and Web Services Description Language as defined in [WSDL]. Prefix Namespace URI Reference xsd http://www.w3.org/2001/XMLSchema [XMLSCHEMA1/2] [XMLSCHEMA2/2] xsi http://www.w3.org/2001/XMLSchema-instance [XMLSCHEMA1/2] [XMLSCHEMA2/2] sql urn:schemas-microsoft-com:xml-sql [MSDN-SQLXML] xmla urn:schemas-microsoft-com:xml-analysis [XMLA] xmla-ds urn:schemas-microsoft-com:xml-analysis:mddataset [XMLA] xmla-rs urn:schemas-microsoft-com:xml-analysis:rowset [XMLA] xmla-e urn:schemas-microsoft-com:xml-analysis:empty [XMLA] xmla-x urn:schemas-microsoft-com:xml-analysis:exception [XMLA] xmla-m http://schemas.microsoft.com/analysisservices/2003/xmla-multipleresults [MS-SSAS] eng http://schemas.microsoft.com/analysisservices/2003/engine [MS-SSAS] eng2 http://schemas.microsoft.com/analysisservices/2003/engine/2 [MS-SSAS] eng2_2 http://schemas.microsoft.com/analysisservices/2003/engine/2/2 [MS-SSAS] eng100 http://schemas.microsoft.com/analysisservices/2008/engine/100 [MS-SSAS] eng100_100 http://schemas.microsoft.com/analysisservices/2008/engine/100/100 [MS-SSAS] eng200 http://schemas.microsoft.com/analysisservices/2010/engine/200 [MS-SSAS] eng200_200 http://schemas.microsoft.com/analysisservices/2010/engine/200/200 [MS-SSAS] eng300 http://schemas.microsoft.com/analysisservices/2011/engine/300 [MS-SSAS]</p><p>14 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Prefix Namespace URI Reference eng300_300 http://schemas.microsoft.com/analysisservices/2011/engine/300/300 [MS-SSAS] eng400 http://schemas.microsoft.com/analysisservices/2012/engine/400 [MS-SSAS] eng400_400 http://schemas.microsoft.com/analysisservices/2012/engine/400/400 [MS-SSAS] eng500 http://schemas.microsoft.com/analysisservices/2013/engine/500 [MS-SSAS] eng500_500 http://schemas.microsoft.com/analysisservices/2013/engine/500/500 [MS-SSAS] engtab http://schemas.microsoft.com/analysisservices/2014/engine</p><p>54.2.2 Elements The protocol elements in section 2.2.5 follow the same structure and style as the XMLA protocol in [XMLA] and [MS-SSAS]. The syntax is element-based. The elements follow the PascalCase naming style. The specific element names and document layout are defined by the XML schema definition (XSD) in the appropriate subsections under section 3.1.5. Some of the commands use the rowset data type described in [XMLA] and [MS-SSAS]. The rowset data type allows the schema of the rowset to be defined inline by using an XSD schema. The schema of the rowsets allowed for these commands are defined in the appropriate subsections under section 3.1.5.</p><p>54.2.3 Complex Types</p><p>54.2.3.1 AffectedObjects An application that uses the Tabular Metadata commands described in section 3.1.5.1.1 can set the ReturnAffectedObjects XMLA property. When this property is set to 1, the command will return an object in the return element of the ExecuteResponse element (see [MS-SSAS] section 3.1.4.3.2.2.1) called AffectedObjects. The AffectedObjects element has the following attributes. Attribute Type Description name string The name of the database that was affected by the operation.</p><p>BaseVersion integer The version of the Tabular model before this operation was performed.</p><p>CurrentVersion integer The version of the Tabular model after this operation was performed. The AffectedObjects element has the following child elements. Element Type Description root Array of rowset objects Zero or more rowset objects. Each rowset contains rows representing metadata objects that were affected by the operation. The rowset object type is defined in [MS-SSAS].</p><p>15 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Each root element adds the following attribute. Attribute Type Description name string The type of object that was affected by the operation. The name attribute identifies the type of object that was affected. The columns of the rowset correspond to the columns defined by the Discover response for that object type. The columns for each Discover response that are specific to a particular Discover operation are described with the operation in section 3.1.5.1.1. In addition, the following column is appended to each rowset. Column Type Default Description</p><p>ImpactType integer 0 0: The object in the row was modified by the operation. 1: The object in the row was deleted by the operation. A client application can use the AffectedObjects object to determine the new state of all objects that were changed on the server as a result of the operation. A request to the server can indirectly affect more objects than the ones explicitly specified in the request. The following is an example of the AffectedObjects response.</p><p>55 <return xmlns="urn:schemas-microsoft-com:xml-analysis"></p><p>56 <AffectedObjects xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla- multipleresults" name="TMTestDB" BaseVersion="1" CurrentVersion="2"></p><p>57 <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla" name="Model"></p><p>58 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>59 <xsd:element name="root"></p><p>60 <xsd:complexType></p><p>61 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>62 <xsd:element name="row" type="row" /></p><p>63 </xsd:sequence></p><p>64 </xsd:complexType></p><p>65 </xsd:element></p><p>66 <xsd:simpleType name="uuid"></p><p>67 <xsd:restriction base="xsd:string"></p><p>68 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>16 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 69 </xsd:restriction></p><p>70 </xsd:simpleType></p><p>71 <xsd:complexType name="xmlDocument"></p><p>72 <xsd:sequence></p><p>73 <xsd:any /></p><p>74 </xsd:sequence></p><p>75 </xsd:complexType></p><p>76 <xsd:complexType name="row"></p><p>77 <xsd:sequence></p><p>78 <xsd:element sql:field="ID" name="ID" type="xsd:unsignedLong" minOccurs="0" /></p><p>79 <xsd:element sql:field="Name" name="Name" type="xsd:string" minOccurs="0" /></p><p>80 <xsd:element sql:field="Description" name="Description" type="xsd:string" minOccurs="0" /></p><p>81 <xsd:element sql:field="StorageLocation" name="StorageLocation" type="xsd:string" minOccurs="0" /></p><p>82 <xsd:element sql:field="DefaultMode" name="DefaultMode" type="xsd:long" minOccurs="0" /></p><p>83 <xsd:element sql:field="DefaultDataView" name="DefaultDataView" type="xsd:long" minOccurs="0" /></p><p>84 <xsd:element sql:field="Culture" name="Culture" type="xsd:string" minOccurs="0" /></p><p>85 <xsd:element sql:field="Collation" name="Collation" type="xsd:string" minOccurs="0" /></p><p>86 <xsd:element sql:field="ModifiedTime" name="ModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>87 <xsd:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>88 <xsd:element sql:field="Version" name="Version" type="xsd:long" minOccurs="0" /></p><p>89 <xsd:element sql:field="ImpactType" name="ImpactType" type="xsd:int" /></p><p>90 </xsd:sequence></p><p>91 </xsd:complexType></p><p>92 </xsd:schema></p><p>93 <row></p><p>94 <ID>1</ID></p><p>17 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 95 <Name>Model</Name></p><p>96 <Description>Model description</Description></p><p>97 <DefaultMode>0</DefaultMode></p><p>98 <DefaultDataView>0</DefaultDataView></p><p>99 <Culture>en-US</Culture></p><p>100 <ModifiedTime>2016-01-31T00:01:24.016667</ModifiedTime></p><p>101 <StructureModifiedTime>2016-01-31T00:01:24.13</StructureModifiedTime></p><p>102 <Version>2</Version></p><p>103 <ImpactType>1</ImpactType></p><p>104 </row></p><p>105 </root></p><p>106 </AffectedObjects></p><p>107 </return></p><p>107.1.1 Simple Types Any new simple types used by this protocol are specified in section 3.1.5.</p><p>107.1.2 Common Data Structures This section describes the hierarchy of metadata objects that can be discovered, defined, and administered by using the APIs in this specification. Sections 2.2.5.1 through 2.2.5.23 document the metadata objects and their properties for a Tabular database at compatibility level 1200 or higher. The root object of a Tabular database is a Model. All other metadata objects are descendants of the Model object. The following table illustrates the hierarchy structure. With the exception of AttributeHierarchy, KPI, and LinguisticMetadata, each child object can be a collection of child objects. For example, the Model object can contain a child object named Tables, which is a collection of Table objects, with each of those Table objects containing a child object named Columns, which is a collection of Column objects, and so on. The lowest level descendant of any parent object in this hierarchy is an Annotation object. Descendant Descendant Descendant Descendant Root Object Level 1 Level 2 Level 3 Level 4</p><p>Model</p><p>DataSource</p><p>Annotation</p><p>Table</p><p>18 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Descendant Descendant Descendant Descendant Root Object Level 1 Level 2 Level 3 Level 4</p><p>Column</p><p>AttributeHierarchy</p><p>Annotation</p><p>Annotation</p><p>Partition</p><p>Annotation</p><p>Measure</p><p>KPI</p><p>Annotation</p><p>Annotation</p><p>Hierarchy</p><p>Level</p><p>Annotation</p><p>Annotation</p><p>Annotation</p><p>Relationship</p><p>Annotation</p><p>Perspective</p><p>PerspectiveTable</p><p>PerspectiveColumn</p><p>Annotation</p><p>PerspectiveHierarchy</p><p>Annotation</p><p>PerspectiveMeasure</p><p>Annotation</p><p>Annotation</p><p>Annotation</p><p>Culture</p><p>ObjectTranslation</p><p>Annotation</p><p>LinguisticMetadata</p><p>Annotation</p><p>Annotation</p><p>Role</p><p>RoleMembership</p><p>Annotation</p><p>TablePermission</p><p>Annotation</p><p>Annotation</p><p>19 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Descendant Descendant Descendant Descendant Root Object Level 1 Level 2 Level 3 Level 4</p><p>Annotation</p><p>107.1.2.1 Model Object The Model object represents the Tabular data model. It is a child of the Database object as defined in [MS-SSAS]. All other Tabular metadata objects are descendants of the Model object. The Model object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>StorageLocation<1> string The location on disk to place the model.</p><p>DefaultMode long The default method for making data available in the partition.</p><p>DefaultDataView enumeration Determines which partitions are to be selected to run queries against the model. The possible values are as follows. § Full (0) – Partitions with DataView set to Default or Full are selected. § Sample (1) – Partitions with DataView set to Default or Sample are selected. § SampleAndFull (2) – All partitions are selected. § Default (3) – Not applicable to Model. It can be set only on Partitions.</p><p>Culture string The culture name to use for formatting.<2></p><p>Collation string The collation sequence.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>StructureModifiedTime dateTime The time that the structure of the object was last modified.</p><p>Version The current version of the Model. The version number is incremented when any transaction on the Model is committed. This version number is set to 1 for any newly created Tabular databases and is always set to 1 for all Tabular databases when the server is restarted.</p><p>107.1.2.2 DataSource Object The DataSource object represents an external source of data. It is a child of a Model object. The DataSource object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ModelID unsignedLong An ID-based reference to a Model object.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>20 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p>Type enumeration The type of DataSource. At present, the only possible value is as follows. § Provider (1) - Normal connection string.</p><p>ConnectionString String A string that is used to open the connection to the data source.</p><p>ImpersonationMode enumeration A numeric value that specifies the credentials to use for impersonation. The enumeration values are as follows. § ImpersonateAccount (2) - The server uses the specified user account. § ImpersonateAnonymous (3) - The server uses the anonymous user account. § ImpersonateCurrentUser (4) - The server uses the user account that the client is connecting as. § ImpersonateServiceAccount (5) - The server uses the user account that the server is running as. § ImpersonateUnattendedAccount (6) – The server uses an unattended user account.<3></p><p>Account string The user account that is used for impersonation.<4></p><p>Password The password that is used to impersonate the specified user account.</p><p>MaxConnections int The maximum number of connections to be opened concurrently to the data source.</p><p>Isolation enumeration The kind of isolation that is used when executing commands against the data source. The possible values are as follows. § ReadCommitted (1) § Snapshot (2)<5></p><p>Timeout int The timeout in seconds for commands executed against the data source.</p><p>Provider string An optional string that identifies the name of the managed data provider for the data source.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.3 Table Object The Table object represents a Table in the data model. It is a child of a Model object. The Table object is defined to have a set of columns, and the rows in the tables are based on Partition child objects. The Table object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ModelID unsignedLong An ID-based reference to a Model object.</p><p>Name string The name of the object.</p><p>DataCategory string Specifies the type of Table. The values in the following TableType enumeration will automatically be mapped to the DIMENSION_TYPE column defined in [MS-SSAS] section 3.1.4.2.2.1.3.6.1. All other unknown strings will map to UNKNOWN and be returned in the Contents attribute of the EntityType element of CSDLBI (see [MSFT-ENTITYTYPE]). § Regular (1) - standard dimension § Time (2) - time dimension</p><p>21 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p>§ Geography (3) - geography dimension § Organization (4) - organization dimension § BillOfMaterials (5) - bill of materials dimension § Accounts (6) - accounts dimension § Customers (7) - customers dimension § Products (8) - products dimension § Scenario (9) - scenario dimension § Quantitative (10) - quantitative dimension § Utility (11) - utility dimension § Currency (12) - currency dimension § Rates (13) - rates dimension § Channel (14) - channel dimension § Promotion (15) - promotion dimension</p><p>Description string The description of the object.</p><p>IsHidden boolean A Boolean that indicates whether the table is treated as hidden by client visualization tools. True if the Table is treated as hidden; otherwise false.</p><p>TableStorageID unsignedLong An ID-based reference to a TableStorage object. The TableStorage object is reserved for internal use only.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>StructureModifiedTime dateTime The time that the structure of the object was last modified.</p><p>SystemFlags long A bitmask that is used to identify the type of object. The possible values are as follows. § Bit 0 is set to 1: The object is a system table that is defined and built internally by the system. § Bit 1 is set to 1: The object is a user-created calculated table.</p><p>107.1.2.4 Column Object The Column object represents a column in a Table. It is a child of a Table object. Each column has a number of properties defined on it that influence how client applications visualize the data in the column. The Column object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>TableID unsignedLong An ID-based reference to a Table object.</p><p>ExplicitName string The user-specified name for the column. This element MUST be specified for calculated columns and columns bound to data. Columns in calculated tables can leave this unspecified, and then the name will be inferred from the expression.</p><p>InferredName string Specifies the engine-generated name for the column. It is valid only for columns of type CalculatedTableColumn.</p><p>ExplicitDataType enumeration The user-specified data type to be enforced on the contents of the column. The possible values are as follows. § Automatic (1) – When calculated columns or calculated table columns set the value to Automatic, the type is automatically inferred. § String (2)</p><p>22 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p>§ Int64 (6) § Double (8) § DateTime (9) § Decimal (10) § Boolean (11) § Binary (17) § Unknown (19) - This value cannot be set on the ExplicitDataType field. It is set automatically by the engine on the InferredDataType field of a calculated column that is in a semantic error state.</p><p>InferredDataType enumeration Specifies the engine-generated data type for this column. It is valid only for columns of the type CalculatedTableColumn or Calculated.</p><p>DataCategory string The values in the following enumeration PropertyType will automatically be mapped to the LEVEL_TYPE column defined in [MS- SSAS] section 3.1.4.2.2.1.3.8.1. All other strings will map to EXTENDEDTYPE (0x12B1) and be returned as-is in the Contents property of CSDL for the column. § Invalid (-1) § All (1) § Regular (2) § Image (3) § ImageBMP (4) § ImageGIF (5) § ImageJPG (6) § ImagePNG (7) § ImageTIFF (8) § ImageURL (9) § Id (10) § RelationToParent (11) § Sequence (12) § OrgTitle (13) § Caption (14) § ShortCaption (15) § CaptionDescription (16) § CaptionAbbreviation (17) § WebURL (18) § WebHTML (19) § WebXMLOrXSL (20) § WebmailAlias (21) § Address (22) § AddressStreet (23) § AddressHouse (24) § AddressCity (25) § AddressStateOrProvince (26) § AddressZIP (27) § AddressQuarter (28)</p><p>23 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description § AddressCountry (29) § AddressBuilding (30) § AddressRoom (31) § AddressFloor (32) § AddressFax (33) § AddressPhone (34) § GeoCentroidX (35) § GeoCentroidY (36) § GeoCentroidZ (37) § GeoBoundaryTop (38) § GeoBoundaryLeft (39) § GeoBoundaryBottom (40) § GeoBoundaryRight (41) § GeoBoundaryFront (42) § GeoBoundaryRear (43) § GeoBoundaryPolygon (44) § PhysicalSize (45) § PhysicalColOr (46) § PhysicalWeight (47) § PhysicalHeight (48) § PhysicalWidth (49) § PhysicalDepth (50) § PhysicalVolume (51) § PhysicalDensity (52) § PersonFullName (53) § PersonFirstName (54) § PersonLastName (55) § PersonMiddleName (56) § PersonDemographic (57) § PersonContact (58) § QtyRangeLow (59) § QtyRangeHigh (60) § FormattingColor (61) § FormattingOrder (62) § FormattingFont (63) § FormattingFontEffects (64) § FormattingFontSize (65) § FormattingSubtotal (66) § Date (67) § DateStart (68) § DateEnded (69) § DateCanceled (70) § DateModified (71) § DateDuration (72)</p><p>24 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description § Version (73) § Years (74) § Quarters (75) § Months (76) § Weeks (77) § Days (78) § Hours (79) § Minutes (80) § Seconds (81) § UndefinedTime (82) § OrganizationalUnit (83) § BomResource (84) § Quantitative (85) § Account (86) § Customers (87) § CustomerGroup (88) § CustomerHousehold (89) § Product (90) § ProductGroup (91) § Scenario (92) § Utility (93) § Person (94) § Company (95) § CurrencySource (96) § CurrencyDestination (97) § Channel (98) § Representative (99) § Promotion (100) § Continent (101) § Region (102) § Country (103) § StateOrProvince (104) § County (105) § City (106) § PostalCode (107) § Point (108) § AccountType (109) § AccountName (110) § AccountNumber (111) § ProjectName (112) § ProjectCode (113) § ProjectStartDate (114) § ProjectEndDate (115) § ProjectCompletion (116)</p><p>25 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description § CurrencyName (117) § CurrencyIsOCode (118) § PercentOwnership (119) § PercentVoteright (120) § Project (121) § RateType (122) § Rate (123) § ProductSKU (124) § ProductCategOry (125) § ProductBrand (126) § DeletedFlag (127) § ScdStatus (128) § ScdEndDate (129) § ScdOriginalID (130) § ScdStartDate (131) § DayOfMonthOrPeriod (132) § WeekOfQuarter (133) § WeekOfMonthOrPeriod (134) § MonthOrPeriodOfQuarter (135) § MonthOrPeriodOfYear (136) § Trimesters (137) § Halfyears (138) § Tendays (139) § DayOfWeek (140) § DayOfTendays (141) § DayOfMonth (142) § DayOfQuarter (143) § DayOfTrimester (144) § DayOfHalfyear (145) § DayOfYear (146) § WeekOfYear (147) § TendayOfMonth (148) § TendayOfQuarter (149) § TendayOfTrimester (150) § TendayOfHalfyear (151) § TendayOfYear (152) § MonthOfTrimester (153) § MonthOfQuarter (154) § MonthOfHalfyear (155) § MonthOfYear (156) § TrimesterOfYear (157) § QuarterOfHalfyear (158) § QuarterOfYear (159) § HalfyearOfYear (160)</p><p>26 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description § FiscalDate (161) § FiscalDayOfWeek (162) § FiscalDayOfMonth (163) § FiscalDayOfQuarter (164) § FiscalDayOfTrimester (165) § FiscalDayOfHalfyear (166) § FiscalDayOfYear (167) § FiscalWeeks (168) § FiscalWeekOfYear (169) § FiscalWeekOfHalfyear (170) § FiscalWeekOfQuarter (171) § FiscalWeekOfTrimester (172) § FiscalWeekOfMonth (173) § FiscalMonths (174) § FiscalMonthOfTrimester (175) § FiscalMonthOfQuarter (176) § FiscalMonthOfHalfyear (177) § FiscalMonthOfYear (178) § FiscalTrimesters (179) § FiscalTrimesterOfYear (180) § FiscalQuarters (181) § FiscalQuarterOfYear (182) § FiscalQuarterOfHalfyear (183) § FiscalHalfyears (184) § FiscalHalfyearOfYear (185) § FiscalYears (186) § ReportingDate (187) § ReportingDayOfWeek (188) § ReportingDayOfMonth (189) § ReportingDayOfQuarter (190) § ReportingDayOfTrimester (191) § ReportingDayOfHalfyear (192) § ReportingDayOfYear (193) § ReportingWeeks (194) § ReportingWeekOfYear (195) § ReportingWeekOfHalfyear (196) § ReportingWeekOfQuarter (197) § ReportingWeekOfTrimester (198) § ReportingWeekOfMonth (199) § ReportingMonths (200) § ReportingMonthOfTrimester (201) § ReportingMonthOfQuarter (202) § ReportingMonthOfHalfyear (203) § ReportingMonthOfYear (204)</p><p>27 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description § ReportingTrimesters (205) § ReportingTrimesterOfYear (206) § ReportingQuarters (207) § ReportingQuarterOfYear (208) § ReportingQuarterOfHalfyear (209) § ReportingHalfyears (210) § ReportingHalfyearOfYear (211) § ReportingYears (212) § ManufacturingDate (213) § ManufacturingDayOfWeek (214) § ManufacturingDayOfMonth (215) § ManufacturingDayOfQuarter (216) § ManufacturingDayOfHalfyear (217) § ManufacturingDayOfYear (218) § ManufacturingWeeks (219) § ManufacturingWeekOfYear (220) § ManufacturingWeekOfHalfyear (221) § ManufacturingWeekOfQuarter (222) § ManufacturingWeekOfMonth (223) § ManufacturingMonths (224) § ManufacturingMonthOfQuarter (225) § ManufacturingMonthOfHalfyear (226) § ManufacturingMonthOfYear (227) § ManufacturingTrimesters (228) § ManufacturingTrimesterOfYear (229) § ManufacturingQuarters (230) § ManufacturingQuarterOfYear (231) § ManufacturingQuarterOfHalfyear (232) § ManufacturingHalfyears (233) § ManufacturingHalfyearOfYear (234) § ManufacturingYears (235) § WinterSummerSeason (236) § IsHoliday (237) § IsWeekday (238) § IsWorkingDay (239) § IsPeakDay (240) § ISO8601Date (241) § ISO8601DayOfWeek (242) § ISO8601DayOfYear (243) § ISO8601Weeks (244) § ISO8601WeekOfYear (245) § ISO8601Years (246) § RowNumber (247)</p><p>28 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p>§ ExtendedType (248)</p><p>Description string The description of the object.</p><p>IsHidden boolean A Boolean that indicates whether a column is treated as hidden by client visualization tools. True if the column is treated as hidden by client visualization tools; otherwise false.</p><p>State enumeration Provides information on the state of the column. The possible values and their interpretation are as follows. § Ready (1) – The column is queryable and has up-to-date data. § NoData (3) – The column is queryable but has no data. This state is applicable only to columns of the type Data. § CalculationNeeded (4) – The column is not queryable and needs to be refreshed (that is, recalculated) to become functional. This state applies only to columns of the type Calculated or CalculatedTableColumn. § SemanticError (5) - The column is in an error state because of an invalid expression. The column is not queryable. This state applies only to columns of the type Calculated or CalculatedTableColumn. § EvaluationError (6) – The column is in an error state because of an error during expression evaluation. The column is not queryable. This state applies only to columns of the type Calculated or CalculatedTableColumn. § DependencyError (7) – The column is in an error state because some of its calculation dependencies are in an error state. The column is not queryable. This state applies only to columns of the type Calculated or CalculatedTableColumn. § Incomplete (8) - Some parts of the column have no data, and the column needs to be refreshed to bring the data in. The column is queryable. This state applies only to columns of the type Data. § SyntaxError (9) - The column is in an error state because of a syntax error in its expression. The column is not queryable. This state applies only to columns of the type Calculated.</p><p>IsUnique boolean A Boolean that indicates whether the column can contain duplicate values. True if the engine will validate that this column cannot contain duplicate values; otherwise false.</p><p>29 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p>IsKey boolean A Boolean that indicates whether the column is a key of the table. True if the column is a key of the table; otherwise false.</p><p>IsNullable boolean A Boolean that indicates whether null values are allowed in the column. True if null values are allowed in the column; otherwise false.</p><p>Alignment enumeration Specifies the text alignment of the column in report visualizations. It is returned as part of CSDL. The possible values are as follows. § Default (1) § Left (2) § Right (3) § Center (4)</p><p>TableDetailPosition int Provides the ability to place this column in the DefaultDetails collection of the Table. This collection is an ordered set of Column types. A positive value indicates participation in the collection. The collection is sorted in ascending order of this element. The DefaultDetails collection is returned as part of the CSDL metadata returned by the DISCOVER_CSDL_METADATA operation (see [MS- SSAS] section 3.1.4.2.2.1.3.61).<6></p><p>IsDefaultLabel boolean A Boolean that indicates whether this column is included in the DisplayKey element in CSDL.</p><p>IsDefaultImage boolean A Boolean that indicates whether this column is returned as the DefaultImage property in CSDL.</p><p>SummarizeBy enumeration A value indicating the default function, if any, typically used to aggregate this field. The possible values are as follows. § Default (1) § None (2) § Sum (3) § Min (4) § Max (5) § Count (6) § Average (7) § DistinctCount (8) If omitted, Default is assumed for numeric fields, None for all other fields.</p><p>ColumnStorageID unsignedLong An ID-based reference to a ColumnStorage object. The ColumnStorage object is reserved for internal use only.</p><p>Type enumeration The type of Column. The possible values are as follows. § Data (1) – The contents of this column come from a DataSource. § Calculated (2) – The contents of this column are computed by using an expression after the Data columns have been populated. § RowNumber (3) - The column is an internal column that represents the row number. § CalculatedTableColumn (4) – Tables that are built based on a calculated expression will automatically infer and generate the columns in the table. Such columns will have this Type. See </p><p>30 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p> section 2.2.5.6 for setting the type of partition to Calculated.</p><p>SourceColumn string The name of the column from which data will be retrieved. The name MUST match a column returned by the execution of the partition's QueryDefinition against the data source.</p><p>ColumnOriginID unsignedLong An ID-based reference to a ColumnOrigin object.</p><p>Expression string The DAX expression that is evaluated for the calculated column.</p><p>FormatString string A string that specifies the format of the column contents. For a description of the FormatString content, see [MSDN-FSCMDX].</p><p>IsAvailableInMDX boolean A Boolean that indicates whether the column can be excluded from usage in MDX query tools. False if the column can be excluded from usage in MDX query tools; otherwise true.</p><p>SortByColumnID unsignedLong Indicates that the column defining this property will be sorted by the values of the column referenced by this property.</p><p>AttributeHierarchyID unsignedLong An ID-based reference to an AttributeHierarchy object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>StructureModifiedTime dateTime The time that the structure of the object was last modified.</p><p>RefreshedTime dateTime The time that the object was last refreshed.</p><p>SystemFlags long A bitmask that is used to identify the type of object. The possible values are as follows. § Bit 0 is set to 1: The object is a column that belongs to a system table. See SystemFlags on the Table object defined in section 2.2.5.3. § Bit 1 is set to 1: The object is a column that belongs to a calculated table of the type CalculatedTableColumn.</p><p>KeepUniqueRows boolean A Boolean that indicates the grouping of rows. If false, client applications can group by this column. If true, client applications are encouraged to group by a more unique key for the column. For an example, see [MS-CSDLBI] section 2.1.13.3. These semantics correspond to the following behavior: § False: return the values of MD_GROUPING_BEHAVIOR_ENCOURAGE in the GROUPING_BEHAVIOR column of the MDSCHEMA_HIERARCHIES schema rowset and GroupOnValue in the GroupingBehavior field of the Property element in the result of DISCOVER_CSDL_METADATA. § True: return MD_GROUPING_BEHAVIOR_DISCOURAGE and GroupOnEntityKey.</p><p>DisplayOrdinal int Indicates the visual position of the column, defined as a relative ordering rather than a strict ordering (example: 10, 20, 40, 50). It allows client applications to maintain a consistent column position.</p><p>ErrorMessage string A string that explains the error state associated with the current object. It is set by the engine only when the state of the object is one of these three values: SemanticError, DependencyError, or EvaluationError. It is applicable only to columns of the type Calculated or CalculatedTableColumn. It will be empty for other column objects.</p><p>SourceProviderType string The original data type of the column as defined in the language of the data source. This data type is used to generate queries directly against the data source, for example in Direct Query mode.</p><p>DisplayFolder string Defines the display folder for the column, for use by clients.</p><p>31 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 107.1.2.5 AttributeHierarchy Object The AttributeHierarchy object represents the attribute hierarchy of a column in a table. It as an optional child object of a Column object and is implicitly created by the server. When the attribute hierarchy is present, the column becomes available as a hierarchy and can be queried by using the MDX language. The AttributeHierarchy object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ColumnID unsignedLong An ID-based reference to a Column object.</p><p>State long Provides information on the state of the AttributeHierarchy object. The possible values and their interpretation are as follows. § Ready (1) – The Attribute Hierarchy is queryable and has up-to-date data. § NoData (3) – Not applicable to Attribute Hierarchies. § CalculationNeeded (4) – The Attribute Hierarchy does not contain any data because it was not refreshed. There is no error associated with the attribute hierarchy. § SemanticError (5) - Not applicable to Attribute Hierarchies. § EvaluationError (6) - Not applicable to Attribute Hierarchies. § DependencyError (7) – The column that is associated with this Attribute Hierarchy is in an error state (SemanticError, EvaluationError, or DependencyError). § Incomplete (8) - Not applicable to Attribute Hierarchies. § SyntaxError (9) - Not applicable to Attribute Hierarchies.</p><p>AttributeHierarchyStorageID unsignedLong An ID-based reference to an AttributeHierarchyStorage object. The AttributeHierarchyStorage object is reserved for internal use only.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>RefreshedTime dateTime The time that the object was last refreshed.</p><p>107.1.2.6 Partition Object The Partition object represents a partition in a table. It is a child of a Table object. The partitions in a table define the data from external data sources that become available when the table is queried.</p><p>32 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The Partition object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>TableID unsignedLong An ID-based reference to a Table object.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>DataSourceID unsignedLong An ID-based reference to a DataSource object.</p><p>QueryDefinition string The text of the query to be executed when populating data into the partition.</p><p>State enumeration Provides information on the state of the partition. The possible values and their interpretation are as follows. § Ready (1) –The partition is queryable and has up-to-date data. § NoData (3) –The partition is queryable but has no data. This state applies only to partitions with a type other than Calculated. § CalculationNeeded (4) – The partition is not queryable and needs to be refreshed (that is, recalculated) to become functional. This state applies only to partitions of the type Calculated. § SemanticError (5) – The partition is in an error state because of an invalid expression and is not queryable. This state applies only to partitions of the type Calculated. § EvaluationError (6) – The partition is in an error state because of an error during expression evaluation. The partition is not queryable. This state applies only to partitions of the type Calculated. § DependencyError (7) – The partition is in an error state because some of its calculation dependencies are in an error state. The partition is not queryable. This state applies only to partitions of the type Calculated. § Incomplete (8) - Some parts of the partition have no data, and the partition needs to be refreshed to bring the data in. The partition is queryable. This state applies only to partitions of a type other than Calculated. § SyntaxError (9) - The partition is in an error state because of a syntax error in its expression. The partition is not queryable. This state applies only to partitions of the type Calculated.</p><p>Type enumeration The type of partition. The possible values are as follows. § Query (1) – The data in this partition is retrieved by executing a query against a DataSource.</p><p>33 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description § Calculated (2) – The data in this partition is populated by executing a calculated expression. § None (3) – The data in this partition is populated by pushing a rowset of data to the server as part of the Refresh operation.</p><p>PartitionStorageID unsignedLong An ID-based reference to a PartitionStorage object. The PartitionStorage object is reserved for internal use only.</p><p>Mode enumeration Defines the method for making data available in the partition. The possible values are as follows. § Import (0) – Data will be imported from a data source. § DirectQuery (1) – Data will be queried dynamically from a data source. § Default (2) - Only partitions can use this value. When set, the partition will inherit the DefaultMode of the Model. § Push (3) – Data will be pushed into the partition. The Mode of a Partition can be set to Default (2), in which case it will inherit its Mode from the DefaultMode of the Model.</p><p>DataView enumeration Determines which partitions should be selected to run queries against the model. The possible values are as follows. § Full (0) – Partitions with DataView set to Default or Full are selected. § Sample (1) – Partitions with DataView set to Default or Sample are selected. § SampleAndFull (2) – All partitions are selected. § Default (3) – Inherits from the default DataView of the Model object. ModifiedTime dateTime The time that the object was last modified.</p><p>RefreshedTime dateTime The time that the object was last refreshed.</p><p>SystemFlags long A bitmask used to identify the type of object. The possible values are as follows. § Bit 0 is set to 1: The object is a partition that belongs to a system table that is not accessible to users through data definition language (DDL). § Bit 1 is set to 1: The object is a partition that belongs to a calculated table. ErrorMessage The string that explains the error state associated with the current object. It is set by the engine only when the state of the object is one of these three values: SemanticError, DependencyError, or EvaluationError. This element applies only to partitions of the type Calculated.</p><p>34 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 107.1.2.7 Relationship Object The Relationship object represents a logical relationship between two Table objects. It is a child of a Model object. The Relationship object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ModelID unsignedLong An ID-based reference to a Model object.</p><p>Name string The name of the object.</p><p>IsActive boolean A Boolean that indicates whether the relationship is marked as Active or Inactive. An Active relationship is automatically used for filtering across tables. An Inactive relationship can be used explicitly by DAX calculations with the USERELATIONSHIP function.</p><p>Type enumeration The type of Relationship. At present, the only possible value is as follows. § SingleColumn (1) - Normal column-column relationship.</p><p>CrossFilteringBehavior enumeration Indicates how relationships influence filtering of data. The enumeration defines the possible behaviors. The possible values are as follows. § OneDirection (1) - The rows selected in the "To" end of the relationship will automatically filter scans of the table in the "From" end of the relationship. § BothDirections (2) - Filters on either end of the relationship will automatically filter the other table. § Automatic (3) - The engine will analyze the relationships and choose one of the behaviors by using heuristics.</p><p>JoinOnDateBehavior enumeration When joining two date time columns, indicates whether to join on date and time parts or on date part only. § DateAndTime (1) - When joining two date time columns, join on date and time parts. § DatePartOnly (2) - When joining two date time columns, join on date part only.</p><p>RelyOnReferentialIntegrity boolean Unused; reserved for future use.</p><p>FromTableID unsignedLong An ID-based reference to a table at the "From" end of the relationship.</p><p>FromColumnID unsignedLong An ID-based reference to a column at the "From" end of the relationship.</p><p>FromCardinality enumeration Indicates whether the "From" end of the relationship has a cardinality of One (1) or Many (2).</p><p>ToTableID unsignedLong An ID-based reference to a table at the "To" end of the relationship.</p><p>ToColumnID unsignedLong An ID-based reference to a column at the "To" end of the relationship.</p><p>ToCardinality enumeration Indicates whether the "To" end of the relationship has a cardinality of One (1) or Many (2).</p><p>State enumeration Provides information on the state of the relationship. The possible values and their interpretation are as follows. § Ready (1) – The relationship is queryable and has up-to-date data. § NoData (3) – Not applicable to relationships. § CalculationNeeded (4) – The </p><p>35 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description relationship does not contain any data because it was not refreshed. There is no error associated with the relationship. § SemanticError (5) - Not applicable to Relationship. § EvaluationError (6) - Not applicable to Relationship. § DependencyError (7) – A dependency associated with this relationship is in an error state (SemanticError, EvaluationError, or DependencyError). § Incomplete (8) - Not applicable to relationships. § SyntaxError (9) - Not applicable to relationships.</p><p>RelationshipStorageID unsignedLong An ID-based reference to a RelationshipStorage object. The RelationshipStorage object is reserved for internal use only.</p><p>RelationshipStorage2ID unsignedLong An ID-based reference to a second RelationshipStorage object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>RefreshedTime dateTime The time that the object was last refreshed.</p><p>SecurityFilteringBehavior enumeration Indicates how relationships influence filtering of data when evaluating row-level security expressions. The possible values are as follows. § OneDirection (1) - The rows selected in the "To" end of the relationship will automatically filter scans of the table in the "From" end of the relationship. § BothDirections (2) - Filters on either end of the relationship will automatically filter the other table.</p><p>107.1.2.8 Measure Object The Measure object represents a value that is calculated based on an expression. It is a child of a Table object. The Measure object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>TableID unsignedLong An ID-based reference to a Table object.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>DataType enumeration The data type of the measure. The possible values are as follows. § String (2) § Int64 (6) § Double (8) § DateTime (9) § Decimal (10) § Boolean (11) § Binary (17)</p><p>36 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description § Unknown (19) - a measure in an error state. § Variant (20) - a measure with varying data type. Expression string The DAX expression that is evaluated for the calculated measure.</p><p>FormatString string A string that specifies the format of the measure contents. For a description of the FormatString content, see [MSDN-FSCMDX].</p><p>IsHidden boolean A Boolean that indicates whether the measure is treated as hidden by client visualization tools. True if the measure is treated as hidden by client visualization tools; otherwise false.</p><p>State enumeration Provides information on the state of the measure. The possible values and their interpretation are as follows. § Ready (1) – The measure is queryable and has up-to-date data. § NoData (3) – Not applicable to Measure. § CalculationNeeded (4) – Not applicable to Measure. § SemanticError (5) – The measure expression has a semantic error. § EvaluationError (6) - Not applicable to Measure. § DependencyError (7) – A dependency associated with this measure is in an error state (SemanticError, EvaluationError, or DependencyError). § Incomplete (8) - Not applicable to Measure. § SyntaxError (9) – The measure has a syntax error in its expression. ModifiedTime dateTime The time that the object was last modified.</p><p>StructureModifiedTime dateTime The time that the structure of the object was last modified.</p><p>KPIID unsignedLong An ID-based reference to a KPI object.</p><p>IsSimpleMeasure boolean A Boolean that indicates whether the measure is an implicit measure that is automatically created by client tools to aggregate a field. Client applications can hide measures that have this flag set.</p><p>ErrorMessage string The string that explains the error state associated with the current object. It is set by the engine only when the state of the object is one of these three values: SemanticError, DependencyError or EvaluationError.</p><p>DisplayFolder string Defines the display folder for the Measure, for use by clients.</p><p>107.1.2.9 Hierarchy Object The Hierarchy object represents a collection of levels that provide a logical hierarchical drilldown path for client applications. It is a child of a Table object.</p><p>37 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The Hierarchy object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>TableID unsignedLong An ID-based reference to a Table object.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>IsHidden boolean A Boolean that indicates whether the hierarchy is treated as hidden by client visualization tools. True if the hierarchy is treated as hidden; otherwise false.</p><p>State enumeration Provides information on the state of the hierarchy. The possible values and their interpretation are as follows. § Ready (1) – The hierarchy is queryable and has up-to-date data. § NoData (3) – Not applicable to Hierarchy. § CalculationNeeded – The hierarchy does not contain any data because it was not refreshed. There is no error associated with the hierarchy. § SemanticError (5) – Not applicable to Hierarchy. § EvaluationError (6) - Not applicable to Hierarchy. § DependencyError (7) – A dependency associated with the hierarchy is in an error state (SemanticError, EvaluationError, or DependencyError). § Incomplete (8) - Not applicable to Hierarchy. HierarchyStorageID unsignedLong An ID-based reference to a HierarchyStorage object. The HierarchyStorage object is reserved for internal use only.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>StructureModifiedTime dateTime The time that the structure of the object was last modified.</p><p>RefreshedTime dateTime The time that the object was last refreshed.</p><p>DisplayFolder string Defines the display folder for the hierarchy, for use by clients.</p><p>107.1.2.10 Level Object The Level object represents a level in a hierarchy that provides a logical hierarchical drilldown path for client applications. It is a child of a Hierarchy object. The level is based on the values in a column. The Level object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>HierarchyID unsignedLong An ID-based reference to a Hierarchy object.</p><p>Ordinal int The position of the level within the hierarchy. The levels in the </p><p>38 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p> hierarchy MUST be properly ordered, starting with 1 and increasing monotonically.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>ColumnID unsignedLong An ID-based reference to a Column object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.11 Annotation Object The Annotation object represents application-specific name/value pairs for the parent object. The Analysis Services server is not expected to interpret annotations. Annotations can generally be defined as child objects of any logical metadata object in the Tabular model, as listed for the ObjectType property in the following table. The Annotation object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ObjectID unsignedLong An ID-based reference to the object.</p><p>ObjectType int The data type of the object specified by ObjectID. The possible values are as follows. § TM_TYPEID_Model (1) § TM_TYPEID_DataSource (2) § TM_TYPEID_Table (3) § TM_TYPEID_Column (4) § TM_TYPEID_AttributeHierarchy (5) § TM_TYPEID_Partition (6) § TM_TYPEID_Relationship (7) § TM_TYPEID_Measure (8) § TM_TYPEID_Hierarchy (9) § TM_TYPEID_Level (10) § TM_TYPEID_Annotation (11) § TM_TYPEID_KPI (12) § TM_TYPEID_Culture (13) § TM_TYPEID_ObjectTranslation (14) § TM_TYPEID_LinguisticMetadata (15) § TM_TYPEID_Perspective (29) § TM_TYPEID_PerspectiveTable (30) § TM_TYPEID_PerspectiveColumn (31) § TM_TYPEID_PerspectiveHierarchy (32) § TM_TYPEID_PerspectiveMeasure (33) § TM_TYPEID_Role (34) § TM_TYPEID_RoleMembership (35) § TM_TYPEID_TablePermission (36)</p><p>Name string The name of the object.</p><p>Value string The value of the annotation.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>39 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 107.1.2.12 KPI Object The KPI object represents a key performance indicator (KPI) object. It is a child of a Measure object. The KPI object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>MeasureID unsignedLong An ID-based reference to a Measure object.</p><p>Description string The description of the object.</p><p>TargetDescription string The description of the target value of the KPI.</p><p>TargetExpression string An expression that evaluates to a number and indicates the goal for the KPI.</p><p>TargetFormatString string The format string to be used when presenting the target value for the KPI.</p><p>StatusGraphic string The recommended graphic to represent the status of this KPI.<7></p><p>StatusDescription string A description of the Status value for the KPI.</p><p>StatusExpression string An expression that is used to calculate the status of the KPI.</p><p>TrendGraphic string A string that identifies the graphic to show for the trend of the KPI.</p><p>TrendDescription string A description of the trend value of the KPI.</p><p>TrendExpression string An expression representing the trend of the KPI.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.13 Culture Object The Culture object represents a user culture. It is a child of a Model object. The Culture object is used for translating strings and formatting values. The Culture object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ModelID unsignedLong An ID-based reference to a Model object.</p><p>Name string The name of the object.</p><p>LinguisticMetadataID unsignedLong An ID-based reference to a LinguisticMetadata object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>StructureModifiedTime dateTime The time that the structure of the object was last modified.</p><p>107.1.2.14 ObjectTranslation Object The ObjectTranslation object represents the translations of metadata properties for the Culture parent object. Properties like the Name and Description of a metadata object can be translated. If they are not translated, the properties specified on the main object are used.</p><p>40 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The ObjectTranslation object has a weakly typed reference to the object that it is translating. For information on the distinction between strongly typed and weakly typed, see section 1.3.1. The ObjectTranslation object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>CultureID unsignedLong An ID-based reference to a Culture object.</p><p>ObjectID unsignedLong An ID-based reference to the object.</p><p>ObjectType int The data type of the object specified by ObjectID. The possible values are as follows. § TM_TYPEID_Model (1) § TM_TYPEID_DataSource (2) § TM_TYPEID_Table (3) § TM_TYPEID_Column (4) § TM_TYPEID_AttributeHierarchy (5) § TM_TYPEID_Partition (6) § TM_TYPEID_Relationship (7) § TM_TYPEID_Measure (8) § TM_TYPEID_Hierarchy (9) § TM_TYPEID_Level (10) § TM_TYPEID_Annotation (11) § TM_TYPEID_KPI (12) § TM_TYPEID_Culture (13) § TM_TYPEID_ObjectTranslation (14) § TM_TYPEID_LinguisticMetadata (15) § TM_TYPEID_Perspective (29) § TM_TYPEID_PerspectiveTable (30) § TM_TYPEID_PerspectiveColumn (31) § TM_TYPEID_PerspectiveHierarchy (32) § TM_TYPEID_PerspectiveMeasure (33) § TM_TYPEID_Role (34) § TM_TYPEID_RoleMembership (35) § TM_TYPEID_TablePermission (36)</p><p>Property enumeration Specifies which property of the object is being translated. The possible values are as follows. § Invalid (-1) - Default invalid value. § Caption (1) - Object caption (shown instead of the name when available). § Description (2) - Object description. § DisplayFolder (3) – DisplayFolder property.</p><p>Value string The value of the translation.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.15 LinguisticMetadata Object The LinguisticMetadata object is used to hold synonym information for the Tabular model. It is a child of a Culture object. The LinguisticMetadata object has the following properties.</p><p>41 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>CultureID unsignedLong An ID-based reference to a Culture object.</p><p>Content String A string that contains the natural language synonyms.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.16 Perspective Object The Perspective object defines a logical view over the Model and is a child of a Model object. It allows hiding Tables, Columns, Measures, and Hierarchies so that end users can look at a smaller subset of the large data model. The Perspective object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ModelID unsignedLong An ID-based reference to a Model object.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.17 PerspectiveTable Object The PerspectiveTable object includes a Table into the Perspective. It is a child of a Perspective object. The PerspectiveColumns, PerspectiveMeasures, and PerspectiveHierarchies child objects allow customizing which parts of the Table are visible in the Perspective. The PerspectiveTable object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>PerspectiveID unsignedLong An ID-based reference to a Perspective object.</p><p>TableID unsignedLong An ID-based reference to a Table object.</p><p>IncludeAll boolean A Boolean that indicates whether all Column, Hierarchy, and Measure objects in the Table object are automatically included into the perspective, If true, the objects are automatically included; otherwise, the PerspectiveColumn, PerspectiveHierarchy and PerspectiveMeasure objects need to be explicitly added to the PerspectiveTable object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.18 PerspectiveColumn Object The PerspectiveColumn object includes a Column of a Table into the Perspective. It is a child of a PerspectiveTable object. The PerspectiveColumn object has the following properties.</p><p>42 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>PerspectiveTableID unsignedLong An ID-based reference to a PerspectiveTable object.</p><p>ColumnID unsignedLong An ID-based reference to a Column object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.19 PerspectiveHierarchy Object The PerspectiveHierarchy object includes a Hierarchy of a Table into the Perspective. It is a child of a PerspectiveTable object. The PerspectiveHierarchy object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>PerspectiveTableID unsignedLong An ID-based reference to a PerspectiveTable object.</p><p>HierarchyID unsignedLong An ID-based reference to a Hierarchy object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.20 PerspectiveMeasure Object The PerspectiveMeasure object includes a Measure of a Table into the Perspective. It is a child of a PerspectiveTable object. The PerspectiveMeasure object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>PerspectiveTableID unsignedLong An ID-based reference to a PerspectiveTable object.</p><p>MeasureID unsignedLong An ID-based reference to a Measure object.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.21 Role Object The Role object defines a set of user principals for whom security rules are applied. It is a child of a Model object. The Role object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>ModelID unsignedLong An ID-based reference to a Model object.</p><p>Name string The name of the object.</p><p>Description string The description of the object.</p><p>ModelPermission enumeration The level of access for this role. The possible values are as follows. § None (1) - The role has no access to the model. § Read (2) - The role can read metadata and data of the model. § ReadRefresh (3) - The role has read and refresh permission. § Refresh (4) - The role can refresh the data and calculations in </p><p>43 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description</p><p> the model. § Administrator (5) - The role can administer the model.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.22 RoleMembership Object The RoleMembership object defines a user principal that belongs to the Role. It is a child of a Role object. The RoleMembership object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>RoleID unsignedLong An ID-based reference to a Role object.</p><p>MemberName string The security name that identifies the user or group of the member.</p><p>MemberID string A string that uniquely identifies the member.</p><p>IdentityProvider string A string that defines the identity provider that MUST be used for authentication of a user.<8></p><p>MemberType enumeration Indicates whether the particular member of a security role is an individual user or a group of users, or if the member is automatically detected.<9> The possible values are as follows. § Auto (1) – Member of security role is automatically detected. § User (2) – Member of security role is an individual user. § Group (3) - Member of security role is a group of users.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>107.1.2.23 TablePermission Object The TablePermission object defines the security rules of the Role on the Table. It is a child of a Role object. The TablePermission object has the following properties. Name Type Description</p><p>ID unsignedLong A reference to the object.</p><p>RoleID unsignedLong An ID-based reference to a Role object.</p><p>TableID unsignedLong An ID-based reference to a Table object.</p><p>FilterExpression string The DAX expression that filters the rows in the table when this security role is in effect.</p><p>ModifiedTime dateTime The time that the object was last modified.</p><p>State enumeration Provides information on the state of the permission. The possible values and their interpretation are as follows. § Ready (1) – The permission has a valid expression. § NoData (3) – Not applicable. § CalculationNeeded (4) – Not applicable. § SemanticError (5) – The expression of the TablePermission object has a semantic error. The table expression </p><p>44 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Type Description cannot be executed and the role will not have access to the table. § EvaluationError (6) - Not applicable. § DependencyError (7) – A dependency associated with this TablePermission object is in an error state (SemanticError, EvaluationError, or DependencyError). The table expression cannot be executed and the role will not have access to the table. § Incomplete (8) - Not applicable. § SyntaxError (9) - The TablePermission object is in an error state because of a syntax error in its expression. The TablePermission object is not queryable. This state applies only to TablePermission objects of the type Calculated. The table expression cannot be executed and the role will not have access to the table.</p><p>ErrorMessage A string that explains the error state associated with the current object. It is set by the engine only when the state of the object is one of these three values: SemanticError, DependencyError, or EvaluationError.</p><p>107.1.2.24 Common Restrictions for Discover Operations One or more of the following restrictions can apply to a Discover operation. Restriction Type Description</p><p>DatabaseName string The name of the database from which to return the metadata. If this restriction applies, the Discover operation returns the metadata objects from only the specified database. If this restriction is not specified, the current database of the session is used to restrict the results.</p><p>SystemObjectType enumeration A bitmask that specifies whether system objects are included or excluded. The possible values are as follows. § 0x1: include user objects. This the default value. § 0x2: include system objects.</p><p>ModifiedTimeOp TimeRestrictionOp Can apply to a Discover operation that includes one or more dateTime fields. The possible values are as follows. § TIME_RESTRICTION_NEWER (0). This is the default value. § TIME_RESTRICTION_OLDER (1).</p><p>StructureModifiedTimeOp TimeRestrictionOp Can apply to a Discover operation that includes one or more dateTime fields. The possible values are as follows. § TIME_RESTRICTION_NEWER (0). This is the default value. § TIME_RESTRICTION_OLDER (1).</p><p>RefreshedTimeOp TimeRestrictionOp Can apply to a Discover operation that includes one or more dateTime fields. The possible values are as follows. § TIME_RESTRICTION_NEWER (0). This is the default value. § TIME_RESTRICTION_OLDER (1). The applicability of these restrictions is identified in the subsections of section 3.1.5.1.1.</p><p>45 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 108 Protocol Details</p><p>108.1 Server Details</p><p>108.1.1 Abstract Data Model See [MS-SSAS] section 3.1.1.</p><p>108.1.2 Timers None.</p><p>108.1.3 Initialization See [MS-SSAS] section 3.1.3.</p><p>108.1.4 Higher-Layer Triggered Events None.</p><p>108.1.5 Message Processing Events and Sequencing Rules</p><p>108.1.5.1 Discover The Discover operation is used to find information about the server. For more information about the messaging protocol for Discover operations, see [MS- SSAS] section 3.1.4.2. The Tabular Metadata Discover requests extend the types of objects that can be discovered to support objects that describe the Tabular Metadata. The rowset type that is returned by all the Tabular Metadata Discovers inherits from the rowset type that is defined in [MS-SSAS] section 2.2.4.1.3 as follows.</p><p>109 <xs:element name="root" type="TabularDiscoverRowsetType" /></p><p>110 <xs:complexType name="TabularDiscoverRowsetType"></p><p>111 <xs:complexContent></p><p>112 <xs:extension base="xmla-rs:rowset"></p><p>113 <xs:attribute name="name" type="xs:string" /></p><p>114 </xs:extension></p><p>115 </xs:complexContent></p><p>116 </xs:complexType></p><p>These schemas add to the set of schemas documented in [MS-SSAS] section 3.1.4.2.2.1.3.</p><p>116.1.1.1.1 Messages</p><p>46 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The request and response messages for a Discover operation are defined in [MS-SSAS] section 3.1.4.2.1.</p><p>116.1.1.1.1.1TMSCHEMA_MODEL The TMSCHEMA_MODEL schema rowset specifies a model object in the database.</p><p>116.1.1.1.1.1.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_MODEL. For the definition of the RequestType element, see [MS- SSAS] section 3.1.4.2.2.1.</p><p>116.1.1.1.1.1.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.1.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>116.1.1.1.1.1.2.1 Columns The TMSCHEMA_MODEL rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>Name Yes</p><p>Description Yes</p><p>StorageLocation Yes</p><p>DefaultMode Yes</p><p>DefaultDataView Yes</p><p>Culture Yes</p><p>Collation Yes</p><p>ModifiedTime Yes</p><p>StructureModifiedTime Yes</p><p>Version Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Model. The XML schema definition (XSD) for the TMSCHEMA_MODEL rowset is as follows.</p><p>117 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>118 <xs:element></p><p>119 <xs:complexType></p><p>120 <xs:sequence></p><p>121 <xs:element name="row" type="TabularDiscoverModelRowType" /></p><p>47 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 122 </xs:sequence></p><p>123 </xs:complexType></p><p>124 </xs:element></p><p>125 <xs:complexType name="TabularDiscoverModelRowType"></p><p>126 <xs:sequence></p><p>127 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>128 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>129 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>130 <xs:element sql:field="StorageLocation" name="StorageLocation" type="xs:string" minOccurs="0" /></p><p>131 <xs:element sql:field="DefaultMode" name="DefaultMode" type="xs:long" minOccurs="0" /></p><p>132 <xs:element sql:field="DefaultDataView" name="DefaultDataView" type="xs:long" minOccurs="0" /></p><p>133 <xs:element sql:field="Culture" name="Culture" type="xs:string" minOccurs="0" /></p><p>134 <xs:element sql:field="Collation" name="Collation" type="xs:string" minOccurs="0" /></p><p>135 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>136 <xs:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>137 <xs:element sql:field="Version" name="Version" type="xs:long" minOccurs="0" /></p><p>138 </xs:sequence></p><p>139 </xs:complexType></p><p>140 </xs:schema></p><p>140.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_MODEL rowset. § DatabaseName § ModifiedTimeOp § StructureModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>140.1.1.1.1.2TMSCHEMA_DATA_SOURCES The TMSCHEMA_DATA_SOURCES schema rowset provides information about the DataSource objects in the model.</p><p>48 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 140.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_DATA_SOURCES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>140.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.2.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2. </p><p>140.1.1.1.1.2.2.1 Columns The TMSCHEMA_DATA_SOURCES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>ModelID Yes</p><p>Name Yes</p><p>Description Yes</p><p>Type Yes</p><p>ConnectionString Yes</p><p>ImpersonationMode Yes</p><p>Account Yes</p><p>Password</p><p>MaxConnections</p><p>Isolation Yes</p><p>Timeout Yes</p><p>Provider Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to DataSource. The XML schema definition (XSD) for the TMSCHEMA_DATA_SOURCES rowset is as follows.</p><p>141 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>142 <xs:element></p><p>143 <xs:complexType></p><p>144 <xs:sequence></p><p>145 <xs:element name="row" type="TabularDiscoverDataSourceRowType" /></p><p>146 </xs:sequence></p><p>147 </xs:complexType></p><p>49 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 148 </xs:element></p><p>149 <xs:complexType name="TabularDiscoverDataSourceRowType"></p><p>150 <xs:sequence></p><p>151 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>152 <xs:element sql:field="ModelID" name="ModelID" type="xs:unsignedLong" minOccurs="0" /></p><p>153 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>154 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>155 <xs:element sql:field="Type" name="Type" type="xs:long" minOccurs="0" /></p><p>156 <xs:element sql:field="ConnectionString" name="ConnectionString" type="xs:string" minOccurs="0" /></p><p>157 <xs:element sql:field="ImpersonationMode" name="ImpersonationMode" type="xs:long" minOccurs="0" /></p><p>158 <xs:element sql:field="Account" name="Account" type="xs:string" minOccurs="0" /></p><p>159 <xs:element sql:field="Password" name="Password" type="xs:string" minOccurs="0" /></p><p>160 <xs:element sql:field="MaxConnections" name="MaxConnections" type="xs:int" minOccurs="0" /></p><p>161 <xs:element sql:field="Isolation" name="Isolation" type="xs:long" minOccurs="0" /></p><p>162 <xs:element sql:field="Timeout" name="Timeout" type="xs:int" minOccurs="0" /></p><p>163 <xs:element sql:field="Provider" name="Provider" type="xs:string" minOccurs="0" /></p><p>164 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>165 </xs:sequence></p><p>166 </xs:complexType></p><p>167 </xs:schema></p><p>167.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_DATA_SOURCES rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>50 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 167.1.1.1.1.2TMSCHEMA_TABLES The TMSCHEMA_TABLES schema rowset provides information about the Table objects in the model.</p><p>167.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_TABLES. For the definition of the RequestType element, see [MS- SSAS] section 3.1.4.2.2.1.</p><p>167.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.3.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>167.1.1.1.1.2.2.1 Columns The TMSCHEMA_TABLES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>ModelID Yes</p><p>Name Yes</p><p>DataCategory Yes</p><p>Description Yes</p><p>IsHidden Yes</p><p>TableStorageID Yes</p><p>ModifiedTime Yes</p><p>StructureModifiedTime Yes</p><p>SystemFlags Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Table. The XSD for the TMSCHEMA_TABLES rowset is as follows.</p><p>168 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>169 <xs:element></p><p>170 <xs:complexType></p><p>171 <xs:sequence></p><p>172 <xs:element name="row" type="TabularDiscoverTableRowType" /></p><p>173 </xs:sequence></p><p>174 </xs:complexType></p><p>175 </xs:element></p><p>51 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 176 <xs:complexType name="TabularDiscoverTableRowType"></p><p>177 <xs:sequence></p><p>178 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>179 <xs:element sql:field="ModelID" name="ModelID" type="xs:unsignedLong" minOccurs="0" /></p><p>180 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>181 <xs:element sql:field="DataCategory" name="DataCategory" type="xs:string" minOccurs="0" /></p><p>182 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>183 <xs:element sql:field="IsHidden" name="IsHidden" type="xs:boolean" minOccurs="0" /></p><p>184 <xs:element sql:field="TableStorageID" name="TableStorageID" type="xs:unsignedLong" minOccurs="0" /></p><p>185 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>186 <xs:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>187 <xs:element sql:field="SystemFlags" name="SystemFlags" type="xs:long" minOccurs="0" /></p><p>188 </xs:sequence></p><p>189 </xs:complexType></p><p>190 </xs:schema></p><p>190.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_TABLES rowset. § DatabaseName § SystemObjectType § ModifiedTimeOp § StructureModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>190.1.1.1.1.2TMSCHEMA_COLUMNS The TMSCHEMA_COLUMNS schema rowset provides information about the Column objects in each table.</p><p>190.1.1.1.1.2.1 Request Body</p><p>52 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The RequestType element of the DiscoverSoapIn message is TMSCHEMA_COLUMNS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>190.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.4.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>190.1.1.1.1.2.2.1 Columns The TMSCHEMA_COLUMNS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>TableID Yes</p><p>ExplicitName Yes</p><p>InferredName Yes</p><p>ExplicitDataType Yes</p><p>InferredDataType Yes</p><p>DataCategory Yes</p><p>Description Yes</p><p>IsHidden Yes</p><p>State Yes</p><p>IsUnique Yes</p><p>IsKey Yes</p><p>IsNullable Yes</p><p>Alignment Yes</p><p>TableDetailPosition Yes</p><p>IsDefaultLabel Yes</p><p>IsDefaultImage Yes</p><p>SummarizeBy Yes</p><p>ColumnStorageID Yes</p><p>Type Yes</p><p>SourceColumn Yes</p><p>ColumnOriginID Yes</p><p>Expression Yes</p><p>FormatString Yes</p><p>IsAvailableInMDX Yes</p><p>SortByColumnID Yes</p><p>AttributeHierarchyID Yes</p><p>ModifiedTime Yes</p><p>StructureModifiedTime Yes</p><p>53 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Restriction</p><p>RefreshedTime Yes</p><p>SystemFlags Yes</p><p>KeepUniqueRows Yes</p><p>DisplayOrdinal Yes</p><p>ErrorMessage Yes</p><p>SourceProviderType Yes</p><p>DisplayFolder Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Column. The XSD for the TMSCHEMA_COLUMNS rowset is as follows.</p><p>191 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>192 <xs:element></p><p>193 <xs:complexType></p><p>194 <xs:sequence></p><p>195 <xs:element name="row" type="TabularDiscoverColumnRowType" /></p><p>196 </xs:sequence></p><p>197 </xs:complexType></p><p>198 </xs:element></p><p>199 <xs:complexType name="TabularDiscoverColumnRowType"></p><p>200 <xs:sequence></p><p>201 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>202 <xs:element sql:field="TableID" name="TableID" type="xs:unsignedLong" minOccurs="0" /></p><p>203 <xs:element sql:field="ExplicitName" name="ExplicitName" type="xs:string" minOccurs="0" /></p><p>204 <xs:element sql:field="InferredName" name="InferredName" type="xs:string" minOccurs="0" /></p><p>205 <xs:element sql:field="ExplicitDataType" name="ExplicitDataType" type="xs:long" minOccurs="0" /></p><p>206 <xs:element sql:field="InferredDataType" name="InferredDataType" type="xs:long" minOccurs="0" /></p><p>207 <xs:element sql:field="DataCategory" name="DataCategory" type="xs:string" minOccurs="0" /></p><p>208 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>54 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 209 <xs:element sql:field="IsHidden" name="IsHidden" type="xs:boolean" minOccurs="0" /></p><p>210 <xs:element sql:field="State" name="State" type="xs:long" minOccurs="0" /></p><p>211 <xs:element sql:field="IsUnique" name="IsUnique" type="xs:boolean" minOccurs="0" /></p><p>212 <xs:element sql:field="IsKey" name="IsKey" type="xs:boolean" minOccurs="0" /></p><p>213 <xs:element sql:field="IsNullable" name="IsNullable" type="xs:boolean" minOccurs="0" /></p><p>214 <xs:element sql:field="Alignment" name="Alignment" type="xs:long" minOccurs="0" /></p><p>215 <xs:element sql:field="TableDetailPosition" name="TableDetailPosition" type="xs:int" minOccurs="0" /></p><p>216 <xs:element sql:field="IsDefaultLabel" name="IsDefaultLabel" type="xs:boolean" minOccurs="0" /></p><p>217 <xs:element sql:field="IsDefaultImage" name="IsDefaultImage" type="xs:boolean" minOccurs="0" /></p><p>218 <xs:element sql:field="SummarizeBy" name="SummarizeBy" type="xs:long" minOccurs="0" /></p><p>219 <xs:element sql:field="ColumnStorageID" name="ColumnStorageID" type="xs:unsignedLong" minOccurs="0" /></p><p>220 <xs:element sql:field="Type" name="Type" type="xs:long" minOccurs="0" /></p><p>221 <xs:element sql:field="SourceColumn" name="SourceColumn" type="xs:string" minOccurs="0" /></p><p>222 <xs:element sql:field="ColumnOriginID" name="ColumnOriginID" type="xs:unsignedLong" minOccurs="0" /></p><p>223 <xs:element sql:field="Expression" name="Expression" type="xs:string" minOccurs="0" /></p><p>224 <xs:element sql:field="FormatString" name="FormatString" type="xs:string" minOccurs="0" /></p><p>225 <xs:element sql:field="IsAvailableInMDX" name="IsAvailableInMDX" type="xs:boolean" minOccurs="0" /></p><p>226 <xs:element sql:field="SortByColumnID" name="SortByColumnID" type="xs:unsignedLong" minOccurs="0" /></p><p>227 <xs:element sql:field="AttributeHierarchyID" name="AttributeHierarchyID" type="xs:unsignedLong" minOccurs="0" /></p><p>228 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>229 <xs:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>230 <xs:element sql:field="RefreshedTime" name="RefreshedTime" type="xs:dateTime" minOccurs="0" /></p><p>55 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 231 <xs:element sql:field="SystemFlags" name="SystemFlags" type="xs:long" minOccurs="0" /></p><p>232 <xs:element sql:field="KeepUniqueRows" name="KeepUniqueRows" type="xs:boolean" minOccurs="0" /></p><p>233 <xs:element sql:field="DisplayOrdinal" name="DisplayOrdinal" type="xs:int" minOccurs="0" /></p><p>234 <xs:element sql:field="ErrorMessage" name="ErrorMessage" type="xs:string" minOccurs="0" /></p><p>235 <xs:element sql:field="SourceProviderType" name="SourceProviderType" type="xs:string" minOccurs="0" /></p><p>236 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>237 </xs:sequence></p><p>238 </xs:complexType></p><p>239 </xs:schema></p><p>239.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_COLUMNS rowset. § DatabaseName § SystemObjectType § ModifiedTimeOp § StructureModifiedTimeOp § RefreshedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>239.1.1.1.1.2TMSCHEMA_ATTRIBUTE_HIERARCHIES The TMSCHEMA_ATTRIBUTE_HIERARCHIES schema rowset provides information about the AttributeHierarchy objects for a column.</p><p>239.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_ATTRIBUTE_HIERARCHIES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>239.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.5.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>239.1.1.1.1.2.2.1 Columns</p><p>56 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The TMSCHEMA_ATTRIBUTE_HIERARCHIES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>ColumnID Yes</p><p>State Yes</p><p>AttributeHierarchyStorageID Yes</p><p>ModifiedTime Yes</p><p>RefreshedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to AttributeHierarchy. The XSD for the TMSCHEMA_ATTRIBUTE_HIERARCHIES rowset is as follows.</p><p>240 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>241 <xs:element></p><p>242 <xs:complexType></p><p>243 <xs:sequence></p><p>244 <xs:element name="row" type="TabularDiscoverAttributeHierarchyRowType" /></p><p>245 </xs:sequence></p><p>246 </xs:complexType></p><p>247 </xs:element></p><p>248 <xs:complexType name="TabularDiscoverAttributeHierarchyRowType"></p><p>249 <xs:sequence></p><p>250 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>251 <xs:element sql:field="ColumnID" name="ColumnID" type="xs:unsignedLong" minOccurs="0" /></p><p>252 <xs:element sql:field="State" name="State" type="xs:long" minOccurs="0" /></p><p>253 <xs:element sql:field="AttributeHierarchyStorageID" name="AttributeHierarchyStorageID" type="xs:unsignedLong" minOccurs="0" /></p><p>254 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>255 <xs:element sql:field="RefreshedTime" name="RefreshedTime" type="xs:dateTime" minOccurs="0" /></p><p>256 </xs:sequence></p><p>257 </xs:complexType></p><p>258 </xs:schema></p><p>57 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 258.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_ATTRIBUTE_HIERARCHIES rowset. § DatabaseName § ModifiedTimeOp § RefreshedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>258.1.1.1.1.2TMSCHEMA_PARTITIONS The TMSCHEMA_PARTITIONS schema rowset provides information about the Partition objects in each table.</p><p>258.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_PARTITIONS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>258.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.6.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>258.1.1.1.1.2.2.1 Columns The TMSCHEMA_PARTITIONS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>TableID Yes</p><p>Name Yes</p><p>Description Yes</p><p>DataSourceID Yes</p><p>QueryDefinition Yes</p><p>State Yes</p><p>Type Yes</p><p>PartitionStorageID Yes</p><p>Mode Yes</p><p>DataView Yes</p><p>ModifiedTime Yes</p><p>RefreshedTime Yes</p><p>SystemFlags Yes</p><p>ErrorMessage Yes</p><p>58 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The name attribute in the TabularDiscoverRowsetType is set to Partition. The XSD for the TMSCHEMA_PARTITIONS rowset is as follows.</p><p>259 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>260 <xs:element></p><p>261 <xs:complexType></p><p>262 <xs:sequence></p><p>263 <xs:element name="row" type="TabularDiscoverPartitionRowType" /></p><p>264 </xs:sequence></p><p>265 </xs:complexType></p><p>266 </xs:element></p><p>267 <xs:complexType name="TabularDiscoverPartitionRowType"></p><p>268 <xs:sequence></p><p>269 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>270 <xs:element sql:field="TableID" name="TableID" type="xs:unsignedLong" minOccurs="0" /></p><p>271 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>272 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>273 <xs:element sql:field="DataSourceID" name="DataSourceID" type="xs:unsignedLong" minOccurs="0" /></p><p>274 <xs:element sql:field="QueryDefinition" name="QueryDefinition" type="xs:string" minOccurs="0" /></p><p>275 <xs:element sql:field="State" name="State" type="xs:long" minOccurs="0" /></p><p>276 <xs:element sql:field="Type" name="Type" type="xs:long" minOccurs="0" /></p><p>277 <xs:element sql:field="PartitionStorageID" name="PartitionStorageID" type="xs:unsignedLong" minOccurs="0" /></p><p>278 <xs:element sql:field="Mode" name="Mode" type="xs:long" minOccurs="0" /></p><p>279 <xs:element sql:field="DataView" name="DataView" type="xs:long" minOccurs="0" /></p><p>280 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>281 <xs:element sql:field="RefreshedTime" name="RefreshedTime" type="xs:dateTime" minOccurs="0" /></p><p>282 <xs:element sql:field="SystemFlags" name="SystemFlags" type="xs:long" minOccurs="0" /></p><p>59 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 283 <xs:element sql:field="ErrorMessage" name="ErrorMessage" type="xs:string" minOccurs="0" /></p><p>284 </xs:sequence></p><p>285 </xs:complexType></p><p>286 </xs:schema></p><p>286.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_PARTITIONS rowset. § DatabaseName § SystemObjectType § ModifiedTimeOp § RefreshedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>286.1.1.1.1.2TMSCHEMA_RELATIONSHIPS The TMSCHEMA_RELATIONSHIPS schema rowset provides information about the Relationship objects in the model.</p><p>286.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_RELATIONSHIPS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>286.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.7.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>286.1.1.1.1.2.2.1 Columns The TMSCHEMA_RELATIONSHIPS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>ModelID Yes</p><p>Name Yes</p><p>IsActive Yes</p><p>Type Yes</p><p>CrossFilteringBehavior Yes</p><p>JoinOnDateBehavior Yes</p><p>RelyOnReferentialIntegrity Yes</p><p>FromTableID Yes</p><p>60 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Restriction</p><p>FromColumnID Yes</p><p>FromCardinality Yes</p><p>ToTableID Yes</p><p>ToColumnID Yes</p><p>ToCardinality Yes</p><p>State Yes</p><p>RelationshipStorageID Yes</p><p>RelationshipStorage2ID Yes</p><p>ModifiedTime Yes</p><p>RefreshedTime Yes</p><p>SecurityFilteringBehavior Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Relationship. The XSD for the TMSCHEMA_RELATIONSHIPS rowset is as follows.</p><p>287 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>288 <xs:element></p><p>289 <xs:complexType></p><p>290 <xs:sequence></p><p>291 <xs:element name="row" type="TabularDiscoverRelationshipRowType" /></p><p>292 </xs:sequence></p><p>293 </xs:complexType></p><p>294 </xs:element></p><p>295 <xs:complexType name="TabularDiscoverRelationshipRowType"></p><p>296 <xs:sequence></p><p>297 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>298 <xs:element sql:field="ModelID" name="ModelID" type="xs:unsignedLong" minOccurs="0" /></p><p>299 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>300 <xs:element sql:field="IsActive" name="IsActive" type="xs:boolean" minOccurs="0" /></p><p>301 <xs:element sql:field="Type" name="Type" type="xs:long" minOccurs="0" /></p><p>302 <xs:element sql:field="CrossFilteringBehavior" name="CrossFilteringBehavior" type="xs:long" minOccurs="0" /></p><p>61 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 303 <xs:element sql:field="JoinOnDateBehavior" name="JoinOnDateBehavior" type="xs:long" minOccurs="0" /></p><p>304 <xs:element sql:field="RelyOnReferentialIntegrity" name="RelyOnReferentialIntegrity" type="xs:boolean" minOccurs="0" /></p><p>305 <xs:element sql:field="FromTableID" name="FromTableID" type="xs:unsignedLong" minOccurs="0" /></p><p>306 <xs:element sql:field="FromColumnID" name="FromColumnID" type="xs:unsignedLong" minOccurs="0" /></p><p>307 <xs:element sql:field="FromCardinality" name="FromCardinality" type="xs:long" minOccurs="0" /></p><p>308 <xs:element sql:field="ToTableID" name="ToTableID" type="xs:unsignedLong" minOccurs="0" /></p><p>309 <xs:element sql:field="ToColumnID" name="ToColumnID" type="xs:unsignedLong" minOccurs="0" /></p><p>310 <xs:element sql:field="ToCardinality" name="ToCardinality" type="xs:long" minOccurs="0" /></p><p>311 <xs:element sql:field="State" name="State" type="xs:long" minOccurs="0" /></p><p>312 <xs:element sql:field="RelationshipStorageID" name="RelationshipStorageID" type="xs:unsignedLong" minOccurs="0" /></p><p>313 <xs:element sql:field="RelationshipStorage2ID" name="RelationshipStorage2ID" type="xs:unsignedLong" minOccurs="0" /></p><p>314 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>315 <xs:element sql:field="RefreshedTime" name="RefreshedTime" type="xs:dateTime" minOccurs="0" /></p><p>316 <xs:element sql:field="SecurityFilteringBehavior" name="SecurityFilteringBehavior" type="xs:long" minOccurs="0" /></p><p>317 </xs:sequence></p><p>318 </xs:complexType></p><p>319 </xs:schema></p><p>319.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_RELATIONSHIPS rowset. § DatabaseName § ModifiedTimeOp § RefreshedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>319.1.1.1.1.2TMSCHEMA_MEASURES</p><p>62 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The TMSCHEMA_MEASURES schema rowset provides information about the Measure objects in each table.</p><p>319.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_MEASURES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>319.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.8.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>319.1.1.1.1.2.2.1 Columns The TMSCHEMA_MEASURES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>TableID Yes</p><p>Name Yes</p><p>Description Yes</p><p>DataType Yes</p><p>Expression Yes</p><p>FormatString Yes</p><p>IsHidden Yes</p><p>State Yes</p><p>ModifiedTime Yes</p><p>StructureModifiedTime Yes</p><p>KPIID Yes</p><p>IsSimpleMeasure Yes</p><p>ErrorMessage Yes</p><p>DisplayFolder Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Measure. The XSD for the TMSCHEMA_MEASURES rowset is as follows.</p><p>320 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>321 <xs:element></p><p>322 <xs:complexType></p><p>323 <xs:sequence></p><p>324 <xs:element name="row" type="TabularDiscoverMeasureRowType" /></p><p>63 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 325 </xs:sequence></p><p>326 </xs:complexType></p><p>327 </xs:element></p><p>328 <xs:complexType name="TabularDiscoverMeasureRowType"></p><p>329 <xs:sequence></p><p>330 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>331 <xs:element sql:field="TableID" name="TableID" type="xs:unsignedLong" minOccurs="0" /></p><p>332 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>333 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>334 <xs:element sql:field="DataType" name="DataType" type="xs:long" minOccurs="0" /></p><p>335 <xs:element sql:field="Expression" name="Expression" type="xs:string" minOccurs="0" /></p><p>336 <xs:element sql:field="FormatString" name="FormatString" type="xs:string" minOccurs="0" /></p><p>337 <xs:element sql:field="IsHidden" name="IsHidden" type="xs:boolean" minOccurs="0" /></p><p>338 <xs:element sql:field="State" name="State" type="xs:long" minOccurs="0" /></p><p>339 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>340 <xs:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>341 <xs:element sql:field="KPIID" name="KPIID" type="xs:unsignedLong" minOccurs="0" /></p><p>342 <xs:element sql:field="IsSimpleMeasure" name="IsSimpleMeasure" type="xs:boolean" minOccurs="0" /></p><p>343 <xs:element sql:field="ErrorMessage" name="ErrorMessage" type="xs:string" minOccurs="0" /></p><p>344 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>345 </xs:sequence></p><p>346 </xs:complexType></p><p>347 </xs:schema></p><p>347.1.1.1.1.1.1.1 Additional Restrictions</p><p>64 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_MEASURES rowset. § DatabaseName § ModifiedTimeOp § StructureModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>347.1.1.1.1.2TMSCHEMA_HIERARCHIES The TMSCHEMA_HIERARCHIES schema rowset provides information about the Hierarchy objects in each table.</p><p>347.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_HIERARCHIES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>347.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.9.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>347.1.1.1.1.2.2.1 Columns The TMSCHEMA_HIERARCHIES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>TableID Yes</p><p>Name Yes</p><p>Description Yes</p><p>IsHidden Yes</p><p>State Yes</p><p>HierarchyStorageID Yes</p><p>ModifiedTime Yes</p><p>StructureModifiedTime Yes</p><p>RefreshedTime Yes</p><p>DisplayFolder Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Hierarchy. The XSD for the TMSCHEMA_HIERARCHIES rowset is as follows.</p><p>348 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>349 <xs:element></p><p>65 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 350 <xs:complexType></p><p>351 <xs:sequence></p><p>352 <xs:element name="row" type="TabularDiscoverHierarchyRowType" /></p><p>353 </xs:sequence></p><p>354 </xs:complexType></p><p>355 </xs:element></p><p>356 <xs:complexType name="TabularDiscoverHierarchyRowType"></p><p>357 <xs:sequence></p><p>358 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>359 <xs:element sql:field="TableID" name="TableID" type="xs:unsignedLong" minOccurs="0" /></p><p>360 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>361 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>362 <xs:element sql:field="IsHidden" name="IsHidden" type="xs:boolean" minOccurs="0" /></p><p>363 <xs:element sql:field="State" name="State" type="xs:long" minOccurs="0" /></p><p>364 <xs:element sql:field="HierarchyStorageID" name="HierarchyStorageID" type="xs:unsignedLong" minOccurs="0" /></p><p>365 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>366 <xs:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>367 <xs:element sql:field="RefreshedTime" name="RefreshedTime" type="xs:dateTime" minOccurs="0" /></p><p>368 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>369 </xs:sequence></p><p>370 </xs:complexType></p><p>371 </xs:schema></p><p>371.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_HIERARCHIES rowset. § DatabaseName § ModifiedTimeOp</p><p>66 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 § StructureModifiedTimeOp § RefreshedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>371.1.1.1.1.2TMSCHEMA_LEVELS The TMSCHEMA_LEVELS schema rowset provides information about the Level objects in each hierarchy.</p><p>371.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_LEVELS. For the definition of the RequestType element, see [MS- SSAS] section 3.1.4.2.2.1.</p><p>371.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.10.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>371.1.1.1.1.2.2.1 Columns The TMSCHEMA_LEVELS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>HierarchyID Yes</p><p>Ordinal Yes</p><p>Name Yes</p><p>Description Yes</p><p>ColumnID Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Level. The XSD for the TMSCHEMA_LEVELS rowset is as follows.</p><p>372 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>373 <xs:element></p><p>374 <xs:complexType></p><p>375 <xs:sequence></p><p>376 <xs:element name="row" type="TabularDiscoverLevelRowType" /></p><p>377 </xs:sequence></p><p>378 </xs:complexType></p><p>379 </xs:element></p><p>67 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 380 <xs:complexType name="TabularDiscoverLevelRowType"></p><p>381 <xs:sequence></p><p>382 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>383 <xs:element sql:field="HierarchyID" name="HierarchyID" type="xs:unsignedLong" minOccurs="0" /></p><p>384 <xs:element sql:field="Ordinal" name="Ordinal" type="xs:int" minOccurs="0" /></p><p>385 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>386 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>387 <xs:element sql:field="ColumnID" name="ColumnID" type="xs:unsignedLong" minOccurs="0" /></p><p>388 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>389 </xs:sequence></p><p>390 </xs:complexType></p><p>391 </xs:schema></p><p>391.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_LEVELS rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>391.1.1.1.1.2TMSCHEMA_ANNOTATIONS The TMSCHEMA_ANNOTATIONS schema rowset provides information about the Annotation objects in the model.</p><p>391.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_ANNOTATIONS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>391.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.11.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>391.1.1.1.1.2.2.1 Columns The TMSCHEMA_ANNOTATIONS rowset contains the following columns.</p><p>68 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Restriction</p><p>ID Yes</p><p>ObjectID Yes</p><p>ObjectType Yes</p><p>Name Yes</p><p>Value Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Annotation. The XSD for the TMSCHEMA_ANNOTATIONS rowset is as follows.</p><p>392 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>393 <xs:element></p><p>394 <xs:complexType></p><p>395 <xs:sequence></p><p>396 <xs:element name="row" type="TabularDiscoverAnnotationRowType" /></p><p>397 </xs:sequence></p><p>398 </xs:complexType></p><p>399 </xs:element></p><p>400 <xs:complexType name="TabularDiscoverAnnotationRowType"></p><p>401 <xs:sequence></p><p>402 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>403 <xs:element sql:field="ObjectID" name="ObjectID" type="xs:unsignedLong" minOccurs="0" /></p><p>404 <xs:element sql:field="ObjectType" name="ObjectType" type="xs:int" minOccurs="0" /></p><p>405 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>406 <xs:element sql:field="Value" name="Value" type="xs:string" minOccurs="0" /></p><p>407 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>408 </xs:sequence></p><p>409 </xs:complexType></p><p>410 </xs:schema></p><p>410.1.1.1.1.1.1.1 Additional Restrictions</p><p>69 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_ANNOTATIONS rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>410.1.1.1.1.2TMSCHEMA_KPIS The TMSCHEMA_KPIS schema rowset provides information about the KPI objects in the model.</p><p>410.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_KPIS. For the definition of the RequestType element, see [MS- SSAS] section 3.1.4.2.2.1.</p><p>410.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.12.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>410.1.1.1.1.2.2.1 Columns The TMSCHEMA_KPIS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>MeasureID Yes</p><p>Description Yes</p><p>TargetDescription Yes</p><p>TargetExpression Yes</p><p>TargetFormatString Yes</p><p>StatusGraphic Yes</p><p>StatusDescription Yes</p><p>StatusExpression Yes</p><p>TrendGraphic Yes</p><p>TrendDescription Yes</p><p>TrendExpression Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to KPI. The XSD for the TMSCHEMA_KPIS rowset is as follows.</p><p>411 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>70 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 412 <xs:element></p><p>413 <xs:complexType></p><p>414 <xs:sequence></p><p>415 <xs:element name="row" type="TabularDiscoverKPIRowType" /></p><p>416 </xs:sequence></p><p>417 </xs:complexType></p><p>418 </xs:element></p><p>419 <xs:complexType name="TabularDiscoverKPIRowType"></p><p>420 <xs:sequence></p><p>421 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>422 <xs:element sql:field="MeasureID" name="MeasureID" type="xs:unsignedLong" minOccurs="0" /></p><p>423 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>424 <xs:element sql:field="TargetDescription" name="TargetDescription" type="xs:string" minOccurs="0" /></p><p>425 <xs:element sql:field="TargetExpression" name="TargetExpression" type="xs:string" minOccurs="0" /></p><p>426 <xs:element sql:field="TargetFormatString" name="TargetFormatString" type="xs:string" minOccurs="0" /></p><p>427 <xs:element sql:field="StatusGraphic" name="StatusGraphic" type="xs:string" minOccurs="0" /></p><p>428 <xs:element sql:field="StatusDescription" name="StatusDescription" type="xs:string" minOccurs="0" /></p><p>429 <xs:element sql:field="StatusExpression" name="StatusExpression" type="xs:string" minOccurs="0" /></p><p>430 <xs:element sql:field="TrendGraphic" name="TrendGraphic" type="xs:string" minOccurs="0" /></p><p>431 <xs:element sql:field="TrendDescription" name="TrendDescription" type="xs:string" minOccurs="0" /></p><p>432 <xs:element sql:field="TrendExpression" name="TrendExpression" type="xs:string" minOccurs="0" /></p><p>433 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>434 </xs:sequence></p><p>435 </xs:complexType></p><p>436 </xs:schema></p><p>71 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 436.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_KPIS rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>436.1.1.1.1.2TMSCHEMA_CULTURES The TMSCHEMA_CULTURES schema rowset provides information about the Culture objects in the model.</p><p>436.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_CULTURES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>436.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.13.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>436.1.1.1.1.2.2.1 Columns The TMSCHEMA_CULTURES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>ModelID Yes</p><p>Name Yes</p><p>LinguisticMetadataID Yes</p><p>ModifiedTime Yes</p><p>StructureModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Culture. The XSD for the TMSCHEMA_CULTURES rowset is as follows.</p><p>437 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>438 <xs:element></p><p>439 <xs:complexType></p><p>440 <xs:sequence></p><p>441 <xs:element name="row" type="TabularDiscoverCultureRowType" /></p><p>442 </xs:sequence></p><p>443 </xs:complexType></p><p>72 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 444 </xs:element></p><p>445 <xs:complexType name="TabularDiscoverCultureRowType"></p><p>446 <xs:sequence></p><p>447 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>448 <xs:element sql:field="ModelID" name="ModelID" type="xs:unsignedLong" minOccurs="0" /></p><p>449 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>450 <xs:element sql:field="LinguisticMetadataID" name="LinguisticMetadataID" type="xs:unsignedLong" minOccurs="0" /></p><p>451 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>452 <xs:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>453 </xs:sequence></p><p>454 </xs:complexType></p><p>455 </xs:schema></p><p>455.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_CULTURES rowset. § DatabaseName § ModifiedTimeOp § StructureModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>455.1.1.1.1.2TMSCHEMA_OBJECT_TRANSLATIONS The TMSCHEMA_OBJECT_TRANSLATIONS schema rowset provides information about the translations of different objects for a culture. The object being translated is identified by the ObjectType, the ObjectID, and the Property.</p><p>455.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_OBJECT_TRANSLATIONS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>455.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.14.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>73 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 455.1.1.1.1.2.2.1 Columns The TMSCHEMA_OBJECT_TRANSLATIONS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>CultureID Yes</p><p>ObjectID Yes</p><p>ObjectType Yes</p><p>Property Yes</p><p>Value Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to ObjectTranslation. The XSD for the TMSCHEMA_OBJECT_TRANSLATIONS rowset is as follows.</p><p>456 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>457 <xs:element></p><p>458 <xs:complexType></p><p>459 <xs:sequence></p><p>460 <xs:element name="row" type="TabularDiscoverObjectTranslationRowType" /></p><p>461 </xs:sequence></p><p>462 </xs:complexType></p><p>463 </xs:element></p><p>464 <xs:complexType name="TabularDiscoverObjectTranslationRowType"></p><p>465 <xs:sequence></p><p>466 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>467 <xs:element sql:field="CultureID" name="CultureID" type="xs:unsignedLong" minOccurs="0" /></p><p>468 <xs:element sql:field="ObjectID" name="ObjectID" type="xs:unsignedLong" minOccurs="0" /></p><p>469 <xs:element sql:field="ObjectType" name="ObjectType" type="xs:int" minOccurs="0" /></p><p>470 <xs:element sql:field="Property" name="Property" type="xs:long" minOccurs="0" /></p><p>471 <xs:element sql:field="Value" name="Value" type="xs:string" minOccurs="0" /></p><p>472 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>74 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 473 </xs:sequence></p><p>474 </xs:complexType></p><p>475 </xs:schema></p><p>475.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_OBJECT_TRANSLATIONS rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>475.1.1.1.1.2TMSCHEMA_LINGUISTIC_METADATA The TMSCHEMA_LINGUISTIC_METADATA schema rowset provides information about the synonyms for objects in the model for a particular culture.</p><p>475.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_LINGUISTIC_METADATA. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>475.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.15.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>475.1.1.1.1.2.2.1 Columns The TMSCHEMA_LINGUISTIC_METADATA rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>CultureID Yes</p><p>Content Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to LinguisticMetadata. The XSD for the TMSCHEMA_LINGUISTIC_METADATA rowset is as follows.</p><p>476 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>477 <xs:element></p><p>75 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 478 <xs:complexType></p><p>479 <xs:sequence></p><p>480 <xs:element name="row" type="TabularDiscoverLinguisticMetadataRowType" /></p><p>481 </xs:sequence></p><p>482 </xs:complexType></p><p>483 </xs:element></p><p>484 <xs:complexType name="TabularDiscoverLinguisticMetadataRowType"></p><p>485 <xs:sequence></p><p>486 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>487 <xs:element sql:field="CultureID" name="CultureID" type="xs:unsignedLong" minOccurs="0" /></p><p>488 <xs:element sql:field="Content" name="Content" type="xmlDocument" minOccurs="0" /></p><p>489 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>490 </xs:sequence></p><p>491 </xs:complexType></p><p>492 </xs:schema></p><p>492.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_LINGUISTIC_METADATA rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>492.1.1.1.1.2TMSCHEMA_PERSPECTIVES The TMSCHEMA_PERSPECTIVES schema rowset provides information about the Perspective objects in the model.</p><p>492.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_PERSPECTIVES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>492.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.16.2.1. For the </p><p>76 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>492.1.1.1.1.2.2.1 Columns The TMSCHEMA_PERSPECTIVES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>ModelID Yes</p><p>Name Yes</p><p>Description Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Perspective. The XSD for the TMSCHEMA_PERSPECTIVES rowset is as follows.</p><p>493 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>494 <xs:element></p><p>495 <xs:complexType></p><p>496 <xs:sequence></p><p>497 <xs:element name="row" type="TabularDiscoverPerspectiveRowType" /></p><p>498 </xs:sequence></p><p>499 </xs:complexType></p><p>500 </xs:element></p><p>501 <xs:complexType name="TabularDiscoverPerspectiveRowType"></p><p>502 <xs:sequence></p><p>503 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>504 <xs:element sql:field="ModelID" name="ModelID" type="xs:unsignedLong" minOccurs="0" /></p><p>505 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>506 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>507 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>508 </xs:sequence></p><p>509 </xs:complexType></p><p>510 </xs:schema></p><p>77 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 510.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_PERSPECTIVES rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>510.1.1.1.1.2TMSCHEMA_PERSPECTIVE_TABLES The TMSCHEMA_PERSPECTIVE_TABLES schema rowset provides information about the Table objects in a perspective.</p><p>510.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_PERSPECTIVE_TABLES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>510.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.17.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>510.1.1.1.1.2.2.1 Columns The TMSCHEMA_PERSPECTIVE_TABLES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>PerspectiveID Yes</p><p>TableID Yes</p><p>IncludeAll Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to PerspectiveTable. The XSD for the TMSCHEMA_PERSPECTIVE_TABLES rowset is as follows.</p><p>511 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>512 <xs:element></p><p>513 <xs:complexType></p><p>514 <xs:sequence></p><p>515 <xs:element name="row" type="TabularDiscoverPerspectiveTableRowType" /></p><p>516 </xs:sequence></p><p>78 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 517 </xs:complexType></p><p>518 </xs:element></p><p>519 <xs:complexType name="TabularDiscoverPerspectiveTableRowType"></p><p>520 <xs:sequence></p><p>521 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>522 <xs:element sql:field="PerspectiveID" name="PerspectiveID" type="xs:unsignedLong" minOccurs="0" /></p><p>523 <xs:element sql:field="TableID" name="TableID" type="xs:unsignedLong" minOccurs="0" /></p><p>524 <xs:element sql:field="IncludeAll" name="IncludeAll" type="xs:boolean" minOccurs="0" /></p><p>525 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>526 </xs:sequence></p><p>527 </xs:complexType></p><p>528 </xs:schema></p><p>528.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_PERSPECTIVE_TABLES rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>528.1.1.1.1.2TMSCHEMA_PERSPECTIVE_COLUMNS The TMSCHEMA_PERSPECTIVE_COLUMNS schema rowset provides information about the PerspectiveColumn objects in each PerspectiveTable object.</p><p>528.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_PERSPECTIVE_COLUMNS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>528.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.18.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>528.1.1.1.1.2.2.1 Columns</p><p>79 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The TMSCHEMA_PERSPECTIVE_COLUMNS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>PerspectiveTableID Yes</p><p>ColumnID Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to PerspectiveColumn. The XSD for the TMSCHEMA_PERSPECTIVE_COLUMNS rowset is as follows.</p><p>529 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>530 <xs:element></p><p>531 <xs:complexType></p><p>532 <xs:sequence></p><p>533 <xs:element name="row" type="TabularDiscoverPerspectiveColumnRowType" /></p><p>534 </xs:sequence></p><p>535 </xs:complexType></p><p>536 </xs:element></p><p>537 <xs:complexType name="TabularDiscoverPerspectiveColumnRowType"></p><p>538 <xs:sequence></p><p>539 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>540 <xs:element sql:field="PerspectiveTableID" name="PerspectiveTableID" type="xs:unsignedLong" minOccurs="0" /></p><p>541 <xs:element sql:field="ColumnID" name="ColumnID" type="xs:unsignedLong" minOccurs="0" /></p><p>542 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>543 </xs:sequence></p><p>544 </xs:complexType></p><p>545 </xs:schema></p><p>545.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_PERSPECTIVE_COLUMNS rowset. § DatabaseName</p><p>80 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>545.1.1.1.1.2TMSCHEMA_PERSPECTIVE_HIERARCHIES The TMSCHEMA_PERSPECTIVE_HIERARCHIES schema rowset provides information about the PerspectiveHierarchy objects in each PerspectiveTable object.</p><p>545.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_PERSPECTIVE_HIERARCHIES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>545.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.19.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>545.1.1.1.1.2.2.1 Columns The TMSCHEMA_PERSPECTIVE_HIERARCHIES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>PerspectiveTableID Yes</p><p>HierarchyID Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to PerspectiveHierarchy. The XSD for the TMSCHEMA_PERSPECTIVE_HIERARCHIES rowset is as follows.</p><p>546 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>547 <xs:element></p><p>548 <xs:complexType></p><p>549 <xs:sequence></p><p>550 <xs:element name="row" type="TabularDiscoverPerspectiveHierarchyRowType" /></p><p>551 </xs:sequence></p><p>552 </xs:complexType></p><p>553 </xs:element></p><p>554 <xs:complexType name="TabularDiscoverPerspectiveHierarchyRowType"></p><p>81 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 555 <xs:sequence></p><p>556 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>557 <xs:element sql:field="PerspectiveTableID" name="PerspectiveTableID" type="xs:unsignedLong" minOccurs="0" /></p><p>558 <xs:element sql:field="HierarchyID" name="HierarchyID" type="xs:unsignedLong" minOccurs="0" /></p><p>559 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>560 </xs:sequence></p><p>561 </xs:complexType></p><p>562 </xs:schema></p><p>562.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_PERSPECTIVE_HIERARCHIES rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>562.1.1.1.1.2TMSCHEMA_PERSPECTIVE_MEASURES The TMSCHEMA_PERSPECTIVE_MEASURES schema rowset provides information about the PerspectiveMeasure objects in each PerspectiveTable object.</p><p>562.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_PERSPECTIVE_MEASURES. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>562.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.20.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>562.1.1.1.1.2.2.1 Columns The TMSCHEMA_PERSPECTIVE_MEASURES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>PerspectiveTableID Yes</p><p>82 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Restriction</p><p>MeasureID Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to PerspectiveMeasure. The XSD for the TMSCHEMA_PERSPECTIVE_MEASURES rowset is as follows.</p><p>563 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>564 <xs:element></p><p>565 <xs:complexType></p><p>566 <xs:sequence></p><p>567 <xs:element name="row" type="TabularDiscoverPerspectiveMeasureRowType" /></p><p>568 </xs:sequence></p><p>569 </xs:complexType></p><p>570 </xs:element></p><p>571 <xs:complexType name="TabularDiscoverPerspectiveMeasureRowType"></p><p>572 <xs:sequence></p><p>573 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>574 <xs:element sql:field="PerspectiveTableID" name="PerspectiveTableID" type="xs:unsignedLong" minOccurs="0" /></p><p>575 <xs:element sql:field="MeasureID" name="MeasureID" type="xs:unsignedLong" minOccurs="0" /></p><p>576 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>577 </xs:sequence></p><p>578 </xs:complexType></p><p>579 </xs:schema></p><p>579.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_PERSPECTIVE_MEASURES rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>579.1.1.1.1.2TMSCHEMA_ROLES</p><p>83 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The TMSCHEMA_ROLES schema rowset provides information about the Role objects in the model.</p><p>579.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_ROLES. For the definition of the RequestType element, see [MS- SSAS] section 3.1.4.2.2.1.</p><p>579.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.21.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>579.1.1.1.1.2.2.1 Columns The TMSCHEMA_ROLES rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>ModelID Yes</p><p>Name Yes</p><p>Description Yes</p><p>ModelPermission Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to Role. The XSD for the TMSCHEMA_ROLES rowset is as follows.</p><p>580 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>581 <xs:element></p><p>582 <xs:complexType></p><p>583 <xs:sequence></p><p>584 <xs:element name="row" type="TabularDiscoverRoleRowType" /></p><p>585 </xs:sequence></p><p>586 </xs:complexType></p><p>587 </xs:element></p><p>588 <xs:complexType name="TabularDiscoverRoleRowType"></p><p>589 <xs:sequence></p><p>590 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>84 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 591 <xs:element sql:field="ModelID" name="ModelID" type="xs:unsignedLong" minOccurs="0" /></p><p>592 <xs:element sql:field="Name" name="Name" type="xs:string" minOccurs="0" /></p><p>593 <xs:element sql:field="Description" name="Description" type="xs:string" minOccurs="0" /></p><p>594 <xs:element sql:field="ModelPermission" name="ModelPermission" type="xs:long" minOccurs="0" /></p><p>595 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>596 </xs:sequence></p><p>597 </xs:complexType></p><p>598 </xs:schema></p><p>598.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_ROLES rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>598.1.1.1.1.2TMSCHEMA_ROLE_MEMBERSHIPS The TMSCHEMA_ROLE_MEMBERSHIPS schema rowset provides information about the RoleMembership objects in each role.</p><p>598.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_ROLE_MEMBERSHIPS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>598.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.22.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>598.1.1.1.1.2.2.1 Columns The TMSCHEMA_ROLE_MEMBERSHIPS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>RoleID Yes</p><p>MemberName Yes</p><p>MemberID Yes</p><p>85 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Name Restriction</p><p>IdentityProvider Yes</p><p>MemberType Yes</p><p>ModifiedTime Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to RoleMembership. The XSD for the TMSCHEMA_ROLE_MEMBERSHIPS rowset is as follows.</p><p>599 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>600 <xs:element></p><p>601 <xs:complexType></p><p>602 <xs:sequence></p><p>603 <xs:element name="row" type="TabularDiscoverRoleMembershipRowType" /></p><p>604 </xs:sequence></p><p>605 </xs:complexType></p><p>606 </xs:element></p><p>607 <xs:complexType name="TabularDiscoverRoleMembershipRowType"></p><p>608 <xs:sequence></p><p>609 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>610 <xs:element sql:field="RoleID" name="RoleID" type="xs:unsignedLong" minOccurs="0" /></p><p>611 <xs:element sql:field="MemberName" name="MemberName" type="xs:string" minOccurs="0" /></p><p>612 <xs:element sql:field="MemberID" name="MemberID" type="xs:string" minOccurs="0" /></p><p>613 <xs:element sql:field="IdentityProvider" name="IdentityProvider" type="xs:string" minOccurs="0" /></p><p>614 <xs:element sql:field="MemberType" name="MemberType" type="xs:long" minOccurs="0" /></p><p>615 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>616 </xs:sequence></p><p>617 </xs:complexType></p><p>618 </xs:schema></p><p>618.1.1.1.1.1.1.1 Additional Restrictions</p><p>86 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_ROLE_MEMBERSHIPS rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>618.1.1.1.1.2TMSCHEMA_TABLE_PERMISSIONS The TMSCHEMA_TABLE_PERMISSIONS schema rowset provides information about the TablePermission objects in each role.</p><p>618.1.1.1.1.2.1 Request Body The RequestType element of the DiscoverSoapIn message is TMSCHEMA_TABLE_PERMISSIONS. For the definition of the RequestType element, see [MS-SSAS] section 3.1.4.2.2.1.</p><p>618.1.1.1.1.2.2 Response Body The rowset in the DiscoverResponse element of the DiscoverSoapOut message contains the columns specified in section 3.1.5.1.1.23.2.1. For the definition of the DiscoverResponse element, see [MS-SSAS] section 3.1.4.2.2.2.</p><p>618.1.1.1.1.2.2.1 Columns The TMSCHEMA_TABLE_PERMISSIONS rowset contains the following columns. Name Restriction</p><p>ID Yes</p><p>RoleID Yes</p><p>TableID Yes</p><p>FilterExpression Yes</p><p>ModifiedTime Yes</p><p>State Yes</p><p>ErrorMessage Yes</p><p>The name attribute in the TabularDiscoverRowsetType is set to TablePermission. The XSD for the TMSCHEMA_TABLE_PERMISSIONS rowset is as follows.</p><p>619 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>620 <xs:element></p><p>621 <xs:complexType></p><p>622 <xs:sequence></p><p>623 <xs:element name="row" type="TabularDiscoverTablePermissionRowType" /></p><p>87 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 624 </xs:sequence></p><p>625 </xs:complexType></p><p>626 </xs:element></p><p>627 <xs:complexType name="TabularDiscoverTablePermissionRowType"></p><p>628 <xs:sequence></p><p>629 <xs:element sql:field="ID" name="ID" type="xs:unsignedLong" minOccurs="0" /></p><p>630 <xs:element sql:field="RoleID" name="RoleID" type="xs:unsignedLong" minOccurs="0" /></p><p>631 <xs:element sql:field="TableID" name="TableID" type="xs:unsignedLong" minOccurs="0" /></p><p>632 <xs:element sql:field="FilterExpression" name="FilterExpression" type="xs:string" minOccurs="0" /></p><p>633 <xs:element sql:field="ModifiedTime" name="ModifiedTime" type="xs:dateTime" minOccurs="0" /></p><p>634 <xs:element sql:field="State" name="State" type="xs:long" minOccurs="0" /></p><p>635 <xs:element sql:field="ErrorMessage" name="ErrorMessage" type="xs:string" minOccurs="0" /></p><p>636 </xs:sequence></p><p>637 </xs:complexType></p><p>638 </xs:schema></p><p>638.1.1.1.1.1.1.1 Additional Restrictions In addition to the column restrictions that are indicated in the preceding section, the following restrictions can apply to the TMSCHEMA_TABLE_PERMISSIONS rowset. § DatabaseName § ModifiedTimeOp For a description of these restrictions, see section 2.2.5.24.</p><p>638.1.1.2 Execute The Execute operation is used to execute commands on the server. For the messaging protocol for Execute operations, see [MS-SSAS] section 3.1.4.3. This section defines the types of commands that can be executed to support operations that manipulate the Tabular Metadata. This document defines the following two types of extension commands for the Tabular Metadata. § XMLA-based commands, which extend the commands in [MS-SSAS] section 3.1.4.3.2.1.1.</p><p>88 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 § JSON-based commands, which are strings that are specified under the Statement element as defined in [MS-SSAS] section 3.1.4.3.2.1.1.2. Many of the commands are available in both types. For example, a Table can be created, altered, or deleted by using either the XMLA-based format or the JSON-based format. In this document, the XMLA-based commands are discussed in sections 3.1.5.2.1 through 3.1.5.2.1.7.2, and the JSON-based commands are discussed in sections 3.1.5.2.2 through 3.1.5.2.2.13.</p><p>638.1.1.2.1 XMLA-Based Tabular Metadata Commands A server in Tabular mode can support databases that have the compatibility level set to 1200 and StorageEngineUsed set to TabularMetadata (see [MS- SSAS] section 2.2.4.2.2.5). The commands to manipulate these databases are documented in sections 3.1.5.2.1.1 through section 3.1.5.2.1.7.2. The request and response messages for these commands conform to the protocol of an Execute operation as defined in [MS-SSAS] section 3.1.4.3.1. In particular, the XMLA Command element, defined in [MS-SSAS] section 3.1.4.3.2.1.1, is extended to allow the following Tabular Metadata commands.</p><p>639 <xsd:complexType name="Command"></p><p>640 <xsd:choice></p><p>641 <xsd:element name="Create" type="mstns:TabularCommandType" minOccurs="0" /></p><p>642 <xsd:element name="Alter" type="mstns:TabularCommandType" minOccurs="0" /></p><p>643 <xsd:element name="Delete" type="mstns:TabularCommandType" minOccurs="0" /></p><p>644 <xsd:element name="Rename" type="mstns:TabularCommandType" minOccurs="0" /></p><p>645 <xsd:element name="Refresh" type="mstns:TabularRefreshCommandType" minOccurs="0" /></p><p>646 <xsd:element name="MergePartitions" type="mstns: MergePartitionsTabular" minOccurs="0" /></p><p>647 <xsd:element name="DBCC" type="mstns:DBCCTabular" minOccurs="0" /></p><p>648 <xsd:element name="SequencePoint" type="mstns:SequencePointTabular" minOccurs="0" /></p><p>649 <xsd:element name="Upgrade" type="mstns: UpgradeTabular" minOccurs="0" /></p><p>650 </xsd:choice></p><p>651 </xsd:complexType></p><p>These command elements are documented in the Request sections below. Each of the commands described in the following sections can use an object of type TabularCommandType, which contains objects of type xmla-rs:rowset, as described in [MS-SSAS] section 2.2.4.1.3. The XSD for the TabularCommandType complex type is as follows.</p><p>89 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 652 <xs:complexType name="TabularCommandType"></p><p>653 <xs:sequence></p><p>654 <xs:element name="DatabaseID" type="xs:string" /></p><p>655 <xs:sequence minOccurs="1" maxOccurs="unbounded"></p><p>656 <xs:choice minOccurs="1" maxOccurs="1"></p><p>657 <xs:element name="Model" type="xmla-rs:rowset" /></p><p>658 <xs:element name="DataSources" type="xmla-rs:rowset" /></p><p>659 <xs:element name="Tables" type="xmla-rs:rowset" /></p><p>660 <xs:element name="Columns" type="xmla-rs:rowset" /></p><p>661 <xs:element name="Partitions" type="xmla-rs:rowset" /></p><p>662 <xs:element name="Relationships" type="xmla-rs:rowset" /></p><p>663 <xs:element name="Measures" type="xmla-rs:rowset" /></p><p>664 <xs:element name="Hierarchies" type="xmla-rs:rowset" /></p><p>665 <xs:element name="Levels" type="xmla-rs:rowset" /></p><p>666 <xs:element name="Annotations" type="xmla-rs:rowset" /></p><p>667 <xs:element name="Kpis" type="xmla-rs:rowset" /></p><p>668 <xs:element name="Cultures" type="xmla-rs:rowset" /></p><p>669 <xs:element name="ObjectTranslations" type="xmla-rs:rowset" /></p><p>670 <xs:element name="LinguisticMetadata" type="xmla-rs:rowset" /></p><p>671 <xs:element name="Perspectives" type="xmla-rs:rowset" /></p><p>672 <xs:element name="PerspectiveTables" type="xmla-rs:rowset" /></p><p>673 <xs:element name="PerspectiveColumns" type="xmla-rs:rowset" /></p><p>674 <xs:element name="PerspectiveHierarchies" type="xmla-rs:rowset" /></p><p>675 <xs:element name="PerspectiveMeasures" type="xmla-rs:rowset" /></p><p>676 <xs:element name="Roles" type="xmla-rs:rowset" /></p><p>677 <xs:element name="RoleMemberships" type="xmla-rs:rowset" /></p><p>678 <xs:element name="TablePermissions" type="xmla-rs:rowset" /></p><p>679 </xs:choice></p><p>680 </xs:sequence></p><p>681 </xs:sequence></p><p>90 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 682 </xs:complexType></p><p>The element name of each rowset identifies which type of object is represented by the rowset, as illustrated in the following example.</p><p>683 <Command></p><p>684 <Create xmlns="http://schemas.microsoft.com/analysisservices/2014/engine"></p><p>685 <DatabaseID>Adventure Works</DatabaseID></p><p>686 <DataSources></p><p>687 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" </p><p>688 xmlns:sql="urn:schemas-microsoft-com:xml-sql"></p><p>689 <xs:element></p><p>690 <xs:complexType></p><p>691 <xs:sequence></p><p>692 <xs:element type="row" /></p><p>693 </xs:sequence></p><p>694 </xs:complexType></p><p>695 </xs:element></p><p>696 <xs:complexType name="row"></p><p>697 <xs:sequence></p><p>698 <xs:element name="Name" type="xs:string" sql:field="Name" </p><p>699 minOccurs="0" /></p><p>700 <xs:element name="Description" type="xs:string" </p><p>701 sql:field="Description" minOccurs="0" /></p><p>702 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>703 <xs:element name="ConnectionString" type="xs:string" </p><p>704 sql:field="ConnectionString" minOccurs="0" /></p><p>705 <xs:element name="ImpersonationMode" type="xs:long" </p><p>706 sql:field="ImpersonationMode" minOccurs="0" /></p><p>707 <xs:element name="Account" type="xs:string" </p><p>708 sql:field="Account" minOccurs="0" /></p><p>709 <xs:element name="Password" type="xs:string" </p><p>91 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 710 sql:field="Password" minOccurs="0" /></p><p>711 <xs:element name="MaxConnections" type="xs:int"</p><p>712 sql:field="MaxConnections" minOccurs="0" /></p><p>713 <xs:element name="Isolation" type="xs:long" </p><p>714 sql:field="Isolation" minOccurs="0" /></p><p>715 <xs:element name="Timeout" type="xs:int" </p><p>716 sql:field="Timeout" minOccurs="0" /></p><p>717 <xs:element name="Provider" type="xs:string" </p><p>718 sql:field="Provider" minOccurs="0" /></p><p>719 </xs:sequence></p><p>720 </xs:complexType></p><p>721 </xs:schema></p><p>722 <row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"></p><p>723 <Name>SqlServer sqlcldb2 AS_foodmart_2000</Name></p><p>724 <ConnectionString>Provider=SQLNCLI11;Data Source=...</ConnectionString></p><p>725 <ImpersonationMode>5</ImpersonationMode></p><p>726 </row></p><p>727 </DataSources></p><p>728 <Tables></p><p>729 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" </p><p>730 xmlns:sql="urn:schemas-microsoft-com:xml-sql"></p><p>731 <xs:element></p><p>732 <xs:complexType></p><p>733 <xs:sequence></p><p>734 <xs:element type="row" /></p><p>735 </xs:sequence></p><p>736 </xs:complexType></p><p>737 </xs:element></p><p>738 <xs:complexType name="row"></p><p>92 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 739 <xs:sequence></p><p>740 <xs:element name="Name" type="xs:string" </p><p>741 sql:field="Name" minOccurs="0" /></p><p>742 <xs:element name="DataCategory" type="xs:string" </p><p>743 sql:field="DataCategory" minOccurs="0" /></p><p>744 <xs:element name="Description" type="xs:string" </p><p>745 sql:field="Description" minOccurs="0" /></p><p>746 <xs:element name="IsHidden" type="xs:boolean" </p><p>747 sql:field="IsHidden" minOccurs="0" /></p><p>748 </xs:sequence></p><p>749 </xs:complexType></p><p>750 </xs:schema></p><p>751 <row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"></p><p>752 <Name>Customer</Name></p><p>753 <Description>Customer information.</Description></p><p>754 </row></p><p>755 </Tables></p><p>756 </Create></p><p>757 </Command></p><p>Each of these rowset objects follows the standard XMLA rowset format, as described in [MS-SSAS] section 2.2.4.1.3. Each object begins with an XSD followed by zero or more row objects. Each row in the rowset contains the properties of a new object that is to be created in the database. When a property is not specified, its default value will be used. Note on Object References In the following XMLA commands, Tabular Metadata objects can be identified in two ways: by integer object ID (such as TableID) and by name-based path (such as the equivalent TableID.Table). Each of the commands allows either form, but only one of them is expected to be present. In general, it is preferable to use the integer ID if it is available. Otherwise, the name-based path can be used, and the integer ID will be derived from the name-based path. If it is necessary to use both, they need to refer to the same object, or conflicts might occur. In principle, specifying the name-based path is redundant if the integer ID is already specified.</p><p>93 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 757.1.1.1.1.1Create Tabular Metadata The Create Tabular Metadata command is used to create objects in a Tabular database that has the compatibility level set to 1200. The command requires a DatabaseID child element that identifies the database in which the Tabular metadata objects are to be created, followed by a set of rowsets that define the new objects that are to be created.</p><p>757.1.1.1.1.1.1 Request The object types allowed are defined in the TabularCommandType object in section 3.1.5.2.1, and the schema of the rowsets for these object types is documented in the following subsections. Creation of objects performs some basic validation. For example, references to parent objects, such as the table to which a Column object belongs, are validated during execution of the Create Tabular Metadata API. Other validations, such as syntax and semantic validation of DAX expressions, can be deferred until a later operation.</p><p>757.1.1.1.1.1.1.1 Create Model The Create Model schema definition is as follows.</p><p>758 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>759 <xs:element></p><p>760 <xs:complexType></p><p>761 <xs:sequence></p><p>762 <xs:element type="row" /></p><p>763 </xs:sequence></p><p>764 </xs:complexType></p><p>765 </xs:element></p><p>766 <xs:complexType name="row"></p><p>767 <xs:sequence></p><p>768 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>769 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>770 <xs:element name="StorageLocation" type="xs:string" sql:field="StorageLocation" minOccurs="0" /></p><p>771 <xs:element name="Mode" type="xs:long" sql:field="Mode" minOccurs="0" /></p><p>772 <xs:element name="Culture" type="xs:string" sql:field="Culture" minOccurs="0" /></p><p>94 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 773 <xs:element name="Collation" type="xs:string" sql:field="Collation" minOccurs="0" /></p><p>774 </xs:sequence></p><p>775 </xs:complexType></p><p>776 </xs:schema></p><p>Element Default value</p><p>Name</p><p>Description</p><p>StorageLocation</p><p>Mode</p><p>Culture</p><p>Collation</p><p>The properties correspond to the Model object defined in section 2.2.5.1.</p><p>776.1.1.1.1.1.1.1 Create DataSources The Create DataSources schema definition is as follows.</p><p>777 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>778 <xs:element></p><p>779 <xs:complexType></p><p>780 <xs:sequence></p><p>781 <xs:element type="row" /></p><p>782 </xs:sequence></p><p>783 </xs:complexType></p><p>784 </xs:element></p><p>785 <xs:complexType name="row"></p><p>786 <xs:sequence></p><p>787 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>788 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>789 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>790 <xs:element name="ConnectionString" type="xs:string" sql:field="ConnectionString" minOccurs="0" /></p><p>95 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 791 <xs:element name="ImpersonationMode" type="xs:long" sql:field="ImpersonationMode" minOccurs="0" /></p><p>792 <xs:element name="Account" type="xs:string" sql:field="Account" minOccurs="0" /></p><p>793 <xs:element name="Password" type="xs:string" sql:field="Password" minOccurs="0" /></p><p>794 <xs:element name="MaxConnections" type="xs:int" sql:field="MaxConnections" minOccurs="0" /></p><p>795 <xs:element name="Isolation" type="xs:long" sql:field="Isolation" minOccurs="0" /></p><p>796 <xs:element name="Timeout" type="xs:int" sql:field="Timeout" minOccurs="0" /></p><p>797 <xs:element name="Provider" type="xs:string" sql:field="Provider" minOccurs="0" /></p><p>798 </xs:sequence></p><p>799 </xs:complexType></p><p>800 </xs:schema></p><p>Element Default value</p><p>Name</p><p>Description</p><p>Type "Provider"</p><p>ConnectionString</p><p>ImpersonationMode "Default"</p><p>Account</p><p>Password</p><p>MaxConnections</p><p>Isolation "ReadCommitted"</p><p>Timeout</p><p>Provider</p><p>The properties correspond to the DataSource object defined in section 2.2.5.2.</p><p>800.1.1.1.1.1.1.1 Create Tables The Create Tables schema definition is as follows.</p><p>801 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>802 <xs:element></p><p>803 <xs:complexType></p><p>96 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 804 <xs:sequence></p><p>805 <xs:element type="row" /></p><p>806 </xs:sequence></p><p>807 </xs:complexType></p><p>808 </xs:element></p><p>809 <xs:complexType name="row"></p><p>810 <xs:sequence></p><p>811 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>812 <xs:element name="DataCategory" type="xs:string" sql:field="DataCategory" minOccurs="0" /></p><p>813 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>814 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>815 </xs:sequence></p><p>816 </xs:complexType></p><p>817 </xs:schema></p><p>Element Default value</p><p>Name</p><p>DataCategory</p><p>Description</p><p>IsHidden</p><p>The properties correspond to the Table object defined in section 2.2.5.3.</p><p>817.1.1.1.1.1.1.1 Create Columns The Create Columns schema definition is as follows.</p><p>818 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>819 <xs:element></p><p>820 <xs:complexType></p><p>821 <xs:sequence></p><p>822 <xs:element type="row" /></p><p>823 </xs:sequence></p><p>97 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 824 </xs:complexType></p><p>825 </xs:element></p><p>826 <xs:complexType name="row"></p><p>827 <xs:sequence></p><p>828 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>829 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>830 <xs:element name="ExplicitName" type="xs:string" sql:field="ExplicitName" minOccurs="0" /></p><p>831 <xs:element name="ExplicitDataType" type="xs:long" sql:field="ExplicitDataType" minOccurs="0" /></p><p>832 <xs:element name="DataCategory" type="xs:string" sql:field="DataCategory" minOccurs="0" /></p><p>833 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>834 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>835 <xs:element name="IsUnique" type="xs:boolean" sql:field="IsUnique" minOccurs="0" /></p><p>836 <xs:element name="IsKey" type="xs:boolean" sql:field="IsKey" minOccurs="0" /></p><p>837 <xs:element name="IsNullable" type="xs:boolean" sql:field="IsNullable" minOccurs="0" /></p><p>838 <xs:element name="Alignment" type="xs:long" sql:field="Alignment" minOccurs="0" /></p><p>839 <xs:element name="TableDetailPosition" type="xs:int" sql:field="TableDetailPosition" minOccurs="0" /></p><p>840 <xs:element name="IsDefaultLabel" type="xs:boolean" sql:field="IsDefaultLabel" minOccurs="0" /></p><p>841 <xs:element name="IsDefaultImage" type="xs:boolean" sql:field="IsDefaultImage" minOccurs="0" /></p><p>842 <xs:element name="SummarizeBy" type="xs:long" sql:field="SummarizeBy" minOccurs="0" /></p><p>843 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>844 <xs:element name="SourceColumn" type="xs:string" sql:field="SourceColumn" minOccurs="0" /></p><p>845 <xs:element name="Expression" type="xs:string" sql:field="Expression" minOccurs="0" /></p><p>98 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 846 <xs:element name="FormatString" type="xs:string" sql:field="FormatString" minOccurs="0" /></p><p>847 <xs:element name="IsAvailableInMDX" type="xs:boolean" sql:field="IsAvailableInMDX" minOccurs="0" /></p><p>848 <xs:element name="SortByColumnID" type="xs:unsignedLong" sql:field="SortByColumnID" minOccurs="0" /></p><p>849 <xs:element name="SortByColumnID.Table" type="xs:string" sql:field="SortByColumnID.Table" minOccurs="0" /></p><p>850 <xs:element name="SortByColumnID.Column" type="xs:string" sql:field="SortByColumnID.Column" minOccurs="0" /></p><p>851 <xs:element name="KeepUniqueRows" type="xs:boolean" sql:field="KeepUniqueRows" minOccurs="0" /></p><p>852 <xs:element name="DisplayOrdinal" type="xs:int" sql:field="DisplayOrdinal" minOccurs="0" /></p><p>853 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>854 </xs:sequence></p><p>855 </xs:complexType></p><p>856 </xs:schema></p><p>Element Default value</p><p>TableID</p><p>TableID.Table</p><p>ExplicitName</p><p>ExplicitDataType</p><p>DataCategory</p><p>Description</p><p>IsHidden</p><p>IsUnique</p><p>IsKey</p><p>IsNullable</p><p>Alignment "Default"</p><p>TableDetailPosition</p><p>IsDefaultLabel</p><p>IsDefaultImage</p><p>SummarizeBy "Default"</p><p>Type "Data"</p><p>SourceColumn</p><p>Expression</p><p>FormatString</p><p>99 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element Default value</p><p>IsAvailableInMDX</p><p>SortByColumnID</p><p>SortByColumnID.Table</p><p>SortByColumnID.Column</p><p>KeepUniqueRows</p><p>DisplayOrdinal</p><p>DisplayFolder</p><p>The properties correspond to the Column object defined in section 2.2.5.4.</p><p>856.1.1.1.1.1.1.1 Create Partitions The Create Partitions schema definition is as follows.</p><p>857 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>858 <xs:element></p><p>859 <xs:complexType></p><p>860 <xs:sequence></p><p>861 <xs:element type="row" /></p><p>862 </xs:sequence></p><p>863 </xs:complexType></p><p>864 </xs:element></p><p>865 <xs:complexType name="row"></p><p>866 <xs:sequence></p><p>867 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>868 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>869 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>870 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>871 <xs:element name="DataSourceID" type="xs:unsignedLong" sql:field="DataSourceID" minOccurs="0" /></p><p>872 <xs:element name="DataSourceID.DataSource" type="xs:string" sql:field="DataSourceID.DataSource" minOccurs="0" /></p><p>873 <xs:element name="QueryDefinition" type="xs:string" sql:field="QueryDefinition" minOccurs="0" /></p><p>874 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>100 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 875 <xs:element name="Mode" type="xs:long" sql:field="Mode" minOccurs="0" /></p><p>876 </xs:sequence></p><p>877 </xs:complexType></p><p>878 </xs:schema></p><p>Element Default value</p><p>TableID</p><p>TableID.Table</p><p>Name</p><p>Description</p><p>DataSourceID</p><p>DataSourceID.DataSource</p><p>QueryDefinition</p><p>Type "Query"</p><p>Mode</p><p>The properties correspond to the Partition object defined in section 2.2.5.6.</p><p>878.1.1.1.1.1.1.1 Create Relationships The Create Relationships schema definition is as follows.</p><p>879 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>880 <xs:element></p><p>881 <xs:complexType></p><p>882 <xs:sequence></p><p>883 <xs:element type="row" /></p><p>884 </xs:sequence></p><p>885 </xs:complexType></p><p>886 </xs:element></p><p>887 <xs:complexType name="row"></p><p>888 <xs:sequence></p><p>889 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>890 <xs:element name="IsActive" type="xs:boolean" sql:field="IsActive" minOccurs="0" /></p><p>891 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>101 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 892 <xs:element name="CrossFilteringBehavior" type="xs:long" sql:field="CrossFilteringBehavior" minOccurs="0" /></p><p>893 <xs:element name="JoinOnDateBehavior" type="xs:long" sql:field="JoinOnDateBehavior" minOccurs="0" /></p><p>894 <xs:element name="RelyOnReferentialIntegrity" type="xs:boolean" sql:field="RelyOnReferentialIntegrity" minOccurs="0" /></p><p>895 <xs:element name="FromTableID" type="xs:unsignedLong" sql:field="FromTableID" minOccurs="0" /></p><p>896 <xs:element name="FromTableID.Table" type="xs:string" sql:field="FromTableID.Table" minOccurs="0" /></p><p>897 <xs:element name="FromColumnID" type="xs:unsignedLong" sql:field="FromColumnID" minOccurs="0" /></p><p>898 <xs:element name="FromColumnID.Table" type="xs:string" sql:field="FromColumnID.Table" minOccurs="0" /></p><p>899 <xs:element name="FromColumnID.Column" type="xs:string" sql:field="FromColumnID.Column" minOccurs="0" /></p><p>900 <xs:element name="FromCardinality" type="xs:long" sql:field="FromCardinality" minOccurs="0" /></p><p>901 <xs:element name="ToTableID" type="xs:unsignedLong" sql:field="ToTableID" minOccurs="0" /></p><p>902 <xs:element name="ToTableID.Table" type="xs:string" sql:field="ToTableID.Table" minOccurs="0" /></p><p>903 <xs:element name="ToColumnID" type="xs:unsignedLong" sql:field="ToColumnID" minOccurs="0" /></p><p>904 <xs:element name="ToColumnID.Table" type="xs:string" sql:field="ToColumnID.Table" minOccurs="0" /></p><p>905 <xs:element name="ToColumnID.Column" type="xs:string" sql:field="ToColumnID.Column" minOccurs="0" /></p><p>906 <xs:element name="ToCardinality" type="xs:long" sql:field="ToCardinality" minOccurs="0" /></p><p>907 <xs:element name="SecurityFilteringBehavior" type="xs:long" sql:field="SecurityFilteringBehavior" minOccurs="0" /></p><p>908 </xs:sequence></p><p>909 </xs:complexType></p><p>910 </xs:schema></p><p>Element Default value</p><p>Name</p><p>IsActive</p><p>Type</p><p>CrossFilteringBehavior "OneDirection"</p><p>102 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element Default value</p><p>JoinOnDateBehavior</p><p>RelyOnReferentialIntegrity</p><p>FromTableID</p><p>FromTableID.Table</p><p>FromColumnID</p><p>FromColumnID.Table</p><p>FromColumnID.Column</p><p>FromCardinality</p><p>ToTableID</p><p>ToTableID.Table</p><p>ToColumnID</p><p>ToColumnID.Table</p><p>ToColumnID.Column</p><p>ToCardinality</p><p>SecurityFilteringBehavior "OneDirection"</p><p>The properties correspond to the Relationship object defined in section 2.2.5.7.</p><p>910.1.1.1.1.1.1.1 Create Measures The Create Measures schema definition is as follows.</p><p>911 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>912 <xs:element></p><p>913 <xs:complexType></p><p>914 <xs:sequence></p><p>915 <xs:element type="row" /></p><p>916 </xs:sequence></p><p>917 </xs:complexType></p><p>918 </xs:element></p><p>919 <xs:complexType name="row"></p><p>920 <xs:sequence></p><p>921 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>922 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>923 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>103 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 924 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>925 <xs:element name="Expression" type="xs:string" sql:field="Expression" minOccurs="0" /></p><p>926 <xs:element name="FormatString" type="xs:string" sql:field="FormatString" minOccurs="0" /></p><p>927 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>928 <xs:element name="IsSimpleMeasure" type="xs:boolean" sql:field="IsSimpleMeasure" minOccurs="0" /></p><p>929 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>930 </xs:sequence></p><p>931 </xs:complexType></p><p>932 </xs:schema></p><p>Element Default value</p><p>TableID</p><p>TableID.Table</p><p>Name</p><p>Description</p><p>Expression</p><p>FormatString</p><p>IsHidden</p><p>IsSimpleMeasure</p><p>DisplayFolder</p><p>The properties correspond to the Measure object defined in section 2.2.5.8.</p><p>932.1.1.1.1.1.1.1 Create Hierarchies The Create Hierarchies schema definition is as follows.</p><p>933 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>934 <xs:element></p><p>935 <xs:complexType></p><p>936 <xs:sequence></p><p>937 <xs:element type="row" /></p><p>938 </xs:sequence></p><p>104 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 939 </xs:complexType></p><p>940 </xs:element></p><p>941 <xs:complexType name="row"></p><p>942 <xs:sequence></p><p>943 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>944 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>945 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>946 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>947 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>948 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>949 </xs:sequence></p><p>950 </xs:complexType></p><p>951 </xs:schema></p><p>Element Default value</p><p>TableID</p><p>TableID.Table</p><p>Name</p><p>Description</p><p>IsHidden</p><p>DisplayFolder</p><p>The properties correspond to the Hierarchy object defined in section 2.2.5.9.</p><p>951.1.1.1.1.1.1.1 Create Levels The Create Levels schema definition is as follows.</p><p>952 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>953 <xs:element></p><p>954 <xs:complexType></p><p>955 <xs:sequence></p><p>956 <xs:element type="row" /></p><p>105 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 957 </xs:sequence></p><p>958 </xs:complexType></p><p>959 </xs:element></p><p>960 <xs:complexType name="row"></p><p>961 <xs:sequence></p><p>962 <xs:element name="HierarchyID" type="xs:unsignedLong" sql:field="HierarchyID" minOccurs="0" /></p><p>963 <xs:element name="HierarchyID.Table" type="xs:string" sql:field="HierarchyID.Table" minOccurs="0" /></p><p>964 <xs:element name="HierarchyID.Hierarchy" type="xs:string" sql:field="HierarchyID.Hierarchy" minOccurs="0" /></p><p>965 <xs:element name="Ordinal" type="xs:int" sql:field="Ordinal" minOccurs="0" /></p><p>966 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>967 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>968 <xs:element name="ColumnID" type="xs:unsignedLong" sql:field="ColumnID" minOccurs="0" /></p><p>969 <xs:element name="ColumnID.Table" type="xs:string" sql:field="ColumnID.Table" minOccurs="0" /></p><p>970 <xs:element name="ColumnID.Column" type="xs:string" sql:field="ColumnID.Column" minOccurs="0" /></p><p>971 </xs:sequence></p><p>972 </xs:complexType></p><p>973 </xs:schema></p><p>Element Default value</p><p>HierarchyID</p><p>HierarchyID.Table</p><p>HierarchyID.Hierarchy</p><p>Ordinal</p><p>Name</p><p>Description</p><p>ColumnID</p><p>ColumnID.Table</p><p>ColumnID.Column</p><p>The properties correspond to the Level object defined in section 2.2.5.10.</p><p>106 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 973.1.1.1.1.1.1.1 Create Annotations The Create Annotations schema definition is as follows.</p><p>974 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>975 <xs:element></p><p>976 <xs:complexType></p><p>977 <xs:sequence></p><p>978 <xs:element type="row" /></p><p>979 </xs:sequence></p><p>980 </xs:complexType></p><p>981 </xs:element></p><p>982 <xs:complexType name="row"></p><p>983 <xs:sequence></p><p>984 <xs:element name="ObjectID" type="xs:unsignedLong" sql:field="ObjectID" minOccurs="0" /></p><p>985 <xs:element name="ObjectID.DataSource" type="xs:string" sql:field="ObjectID.DataSource" minOccurs="0" /></p><p>986 <xs:element name="ObjectID.Table" type="xs:string" sql:field="ObjectID.Table" minOccurs="0" /></p><p>987 <xs:element name="ObjectID.Column" type="xs:string" sql:field="ObjectID.Column" minOccurs="0" /></p><p>988 <xs:element name="ObjectID.Partition" type="xs:string" sql:field="ObjectID.Partition" minOccurs="0" /></p><p>989 <xs:element name="ObjectID.Relationship" type="xs:string" sql:field="ObjectID.Relationship" minOccurs="0" /></p><p>990 <xs:element name="ObjectID.Measure" type="xs:string" sql:field="ObjectID.Measure" minOccurs="0" /></p><p>991 <xs:element name="ObjectID.Hierarchy" type="xs:string" sql:field="ObjectID.Hierarchy" minOccurs="0" /></p><p>992 <xs:element name="ObjectID.Level" type="xs:string" sql:field="ObjectID.Level" minOccurs="0" /></p><p>993 <xs:element name="ObjectID.Culture" type="xs:string" sql:field="ObjectID.Culture" minOccurs="0" /></p><p>994 <xs:element name="ObjectID.Perspective" type="xs:string" sql:field="ObjectID.Perspective" minOccurs="0" /></p><p>995 <xs:element name="ObjectID.PerspectiveTable" type="xs:string" sql:field="ObjectID.PerspectiveTable" minOccurs="0" /></p><p>996 <xs:element name="ObjectID.PerspectiveColumn" type="xs:string" sql:field="ObjectID.PerspectiveColumn" minOccurs="0" /></p><p>107 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 997 <xs:element name="ObjectID.PerspectiveHierarchy" type="xs:string" sql:field="ObjectID.PerspectiveHierarchy" minOccurs="0" /></p><p>998 <xs:element name="ObjectID.PerspectiveMeasure" type="xs:string" sql:field="ObjectID.PerspectiveMeasure" minOccurs="0" /></p><p>999 <xs:element name="ObjectID.Role" type="xs:string" sql:field="ObjectID.Role" minOccurs="0" /></p><p>1000 <xs:element name="ObjectID.RoleMembership" type="xs:string" sql:field="ObjectID.RoleMembership" minOccurs="0" /></p><p>1001 <xs:element name="ObjectID.TablePermission" type="xs:string" sql:field="ObjectID.TablePermission" minOccurs="0" /></p><p>1002 <xs:element name="ObjectType" type="xs:int" sql:field="ObjectType" minOccurs="0" /></p><p>1003 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1004 <xs:element name="Value" type="xs:string" sql:field="Value" minOccurs="0" /></p><p>1005 </xs:sequence></p><p>1006 </xs:complexType></p><p>1007 </xs:schema></p><p>Element Default value</p><p>ObjectID</p><p>ObjectID.DataSource</p><p>ObjectID.Table</p><p>ObjectID.Column</p><p>ObjectID.Partition</p><p>ObjectID.Relationship</p><p>ObjectID.Measure</p><p>ObjectID.Hierarchy</p><p>ObjectID.Level</p><p>ObjectID.Culture</p><p>ObjectID.Perspective</p><p>ObjectID.PerspectiveTable</p><p>ObjectID.PerspectiveColumn</p><p>ObjectID.PerspectiveHierarchy</p><p>ObjectID.PerspectiveMeasure</p><p>ObjectID.Role</p><p>ObjectID.RoleMembership</p><p>ObjectID.TablePermission</p><p>ObjectType</p><p>Name</p><p>108 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element Default value</p><p>Value</p><p>The properties correspond to the Annotation object defined in section 2.2.5.11.</p><p>1007.1.1.1.1.1.1.1 Create Kpis The Create Kpis schema definition is as follows.</p><p>1008 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1009 <xs:element></p><p>1010 <xs:complexType></p><p>1011 <xs:sequence></p><p>1012 <xs:element type="row" /></p><p>1013 </xs:sequence></p><p>1014 </xs:complexType></p><p>1015 </xs:element></p><p>1016 <xs:complexType name="row"></p><p>1017 <xs:sequence></p><p>1018 <xs:element name="MeasureID" type="xs:unsignedLong" sql:field="MeasureID" minOccurs="0" /></p><p>1019 <xs:element name="MeasureID.Table" type="xs:string" sql:field="MeasureID.Table" minOccurs="0" /></p><p>1020 <xs:element name="MeasureID.Measure" type="xs:string" sql:field="MeasureID.Measure" minOccurs="0" /></p><p>1021 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1022 <xs:element name="TargetDescription" type="xs:string" sql:field="TargetDescription" minOccurs="0" /></p><p>1023 <xs:element name="TargetExpression" type="xs:string" sql:field="TargetExpression" minOccurs="0" /></p><p>1024 <xs:element name="TargetFormatString" type="xs:string" sql:field="TargetFormatString" minOccurs="0" /></p><p>1025 <xs:element name="StatusGraphic" type="xs:string" sql:field="StatusGraphic" minOccurs="0" /></p><p>1026 <xs:element name="StatusDescription" type="xs:string" sql:field="StatusDescription" minOccurs="0" /></p><p>1027 <xs:element name="StatusExpression" type="xs:string" sql:field="StatusExpression" minOccurs="0" /></p><p>109 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1028 <xs:element name="TrendGraphic" type="xs:string" sql:field="TrendGraphic" minOccurs="0" /></p><p>1029 <xs:element name="TrendDescription" type="xs:string" sql:field="TrendDescription" minOccurs="0" /></p><p>1030 <xs:element name="TrendExpression" type="xs:string" sql:field="TrendExpression" minOccurs="0" /></p><p>1031 </xs:sequence></p><p>1032 </xs:complexType></p><p>1033 </xs:schema></p><p>Element Default value</p><p>MeasureID</p><p>MeasureID.Table</p><p>MeasureID.Measure</p><p>Description</p><p>TargetDescription</p><p>TargetExpression Empty</p><p>TargetFormatString</p><p>StatusGraphic</p><p>StatusDescription</p><p>StatusExpression</p><p>TrendGraphic</p><p>TrendDescription</p><p>TrendExpression</p><p>The properties correspond to the KPI object defined in section 2.2.5.12.</p><p>1033.1.1.1.1.1.1.1 Create Cultures The Create Cultures schema definition is as follows.</p><p>1034 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1035 <xs:element></p><p>1036 <xs:complexType></p><p>1037 <xs:sequence></p><p>1038 <xs:element type="row" /></p><p>1039 </xs:sequence></p><p>1040 </xs:complexType></p><p>110 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1041 </xs:element></p><p>1042 <xs:complexType name="row"></p><p>1043 <xs:sequence></p><p>1044 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1045 </xs:sequence></p><p>1046 </xs:complexType></p><p>1047 </xs:schema></p><p>Element Default value</p><p>Name</p><p>The properties correspond to the Culture object defined in section 2.2.5.13.</p><p>1047.1.1.1.1.1.1.1 Create ObjectTranslations The Create ObjectTranslations schema definition is as follows.</p><p>1048 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1049 <xs:element></p><p>1050 <xs:complexType></p><p>1051 <xs:sequence></p><p>1052 <xs:element type="row" /></p><p>1053 </xs:sequence></p><p>1054 </xs:complexType></p><p>1055 </xs:element></p><p>1056 <xs:complexType name="row"></p><p>1057 <xs:sequence></p><p>1058 <xs:element name="CultureID" type="xs:unsignedLong" sql:field="CultureID" minOccurs="0" /></p><p>1059 <xs:element name="CultureID.Culture" type="xs:string" sql:field="CultureID.Culture" minOccurs="0" /></p><p>1060 <xs:element name="ObjectID" type="xs:unsignedLong" sql:field="ObjectID" minOccurs="0" /></p><p>1061 <xs:element name="ObjectID.DataSource" type="xs:string" sql:field="ObjectID.DataSource" minOccurs="0" /></p><p>1062 <xs:element name="ObjectID.Table" type="xs:string" sql:field="ObjectID.Table" minOccurs="0" /></p><p>111 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1063 <xs:element name="ObjectID.Column" type="xs:string" sql:field="ObjectID.Column" minOccurs="0" /></p><p>1064 <xs:element name="ObjectID.Partition" type="xs:string" sql:field="ObjectID.Partition" minOccurs="0" /></p><p>1065 <xs:element name="ObjectID.Relationship" type="xs:string" sql:field="ObjectID.Relationship" minOccurs="0" /></p><p>1066 <xs:element name="ObjectID.Measure" type="xs:string" sql:field="ObjectID.Measure" minOccurs="0" /></p><p>1067 <xs:element name="ObjectID.Hierarchy" type="xs:string" sql:field="ObjectID.Hierarchy" minOccurs="0" /></p><p>1068 <xs:element name="ObjectID.Level" type="xs:string" sql:field="ObjectID.Level" minOccurs="0" /></p><p>1069 <xs:element name="ObjectID.Culture" type="xs:string" sql:field="ObjectID.Culture" minOccurs="0" /></p><p>1070 <xs:element name="ObjectID.Perspective" type="xs:string" sql:field="ObjectID.Perspective" minOccurs="0" /></p><p>1071 <xs:element name="ObjectID.PerspectiveTable" type="xs:string" sql:field="ObjectID.PerspectiveTable" minOccurs="0" /></p><p>1072 <xs:element name="ObjectID.PerspectiveColumn" type="xs:string" sql:field="ObjectID.PerspectiveColumn" minOccurs="0" /></p><p>1073 <xs:element name="ObjectID.PerspectiveHierarchy" type="xs:string" sql:field="ObjectID.PerspectiveHierarchy" minOccurs="0" /></p><p>1074 <xs:element name="ObjectID.PerspectiveMeasure" type="xs:string" sql:field="ObjectID.PerspectiveMeasure" minOccurs="0" /></p><p>1075 <xs:element name="ObjectID.Role" type="xs:string" sql:field="ObjectID.Role" minOccurs="0" /></p><p>1076 <xs:element name="ObjectID.RoleMembership" type="xs:string" sql:field="ObjectID.RoleMembership" minOccurs="0" /></p><p>1077 <xs:element name="ObjectID.TablePermission" type="xs:string" sql:field="ObjectID.TablePermission" minOccurs="0" /></p><p>1078 <xs:element name="ObjectType" type="xs:int" sql:field="ObjectType" minOccurs="0" /></p><p>1079 <xs:element name="Property" type="xs:long" sql:field="Property" minOccurs="0" /></p><p>1080 <xs:element name="Value" type="xs:string" sql:field="Value" minOccurs="0" /></p><p>1081 </xs:sequence></p><p>1082 </xs:complexType></p><p>1083 </xs:schema></p><p>112 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element Default value</p><p>CultureID</p><p>CultureID.Culture</p><p>ObjectID</p><p>ObjectID.DataSource</p><p>ObjectID.Table</p><p>ObjectID.Column</p><p>ObjectID.Partition</p><p>ObjectID.Relationship</p><p>ObjectID.Measure</p><p>ObjectID.Hierarchy</p><p>ObjectID.Level</p><p>ObjectID.Culture</p><p>ObjectID.Perspective</p><p>ObjectID.PerspectiveTable</p><p>ObjectID.PerspectiveColumn</p><p>ObjectID.PerspectiveHierarchy</p><p>ObjectID.PerspectiveMeasure</p><p>ObjectID.Role</p><p>ObjectID.RoleMembership</p><p>ObjectID.TablePermission</p><p>ObjectType</p><p>Property "Invalid"</p><p>Value</p><p>The properties correspond to the ObjectTranslation object defined in section 2.2.5.14.</p><p>1083.1.1.1.1.1.1.1 Create LinguisticMetadata The Create LinguisticMetadata schema definition is as follows.</p><p>1084 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1085 <xs:element></p><p>1086 <xs:complexType></p><p>1087 <xs:sequence></p><p>1088 <xs:element type="row" /></p><p>1089 </xs:sequence></p><p>1090 </xs:complexType></p><p>1091 </xs:element></p><p>113 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1092 <xs:complexType name="row"></p><p>1093 <xs:sequence></p><p>1094 <xs:element name="CultureID" type="xs:unsignedLong" sql:field="CultureID" minOccurs="0" /></p><p>1095 <xs:element name="CultureID.Culture" type="xs:string" sql:field="CultureID.Culture" minOccurs="0" /></p><p>1096 <xs:element name="Content" type="xs:string" sql:field="Content" minOccurs="0" /></p><p>1097 </xs:sequence></p><p>1098 </xs:complexType></p><p>1099 </xs:schema></p><p>Element Default value</p><p>CultureID</p><p>CultureID.Culture</p><p>Content</p><p>The properties correspond to the LinguisticMetadata object defined in section 2.2.5.15.</p><p>1099.1.1.1.1.1.1.1 Create Perspectives The Create Perspectives schema definition is as follows.</p><p>1100 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1101 <xs:element></p><p>1102 <xs:complexType></p><p>1103 <xs:sequence></p><p>1104 <xs:element type="row" /></p><p>1105 </xs:sequence></p><p>1106 </xs:complexType></p><p>1107 </xs:element></p><p>1108 <xs:complexType name="row"></p><p>1109 <xs:sequence></p><p>1110 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1111 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>114 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1112 </xs:sequence></p><p>1113 </xs:complexType></p><p>1114 </xs:schema></p><p>Element Default value</p><p>Name</p><p>Description</p><p>The properties correspond to the Perspective object defined in section 2.2.5.16.</p><p>1114.1.1.1.1.1.1.1 Create PerspectiveTables The Create PerspectiveTables schema definition is as follows.</p><p>1115 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1116 <xs:element></p><p>1117 <xs:complexType></p><p>1118 <xs:sequence></p><p>1119 <xs:element type="row" /></p><p>1120 </xs:sequence></p><p>1121 </xs:complexType></p><p>1122 </xs:element></p><p>1123 <xs:complexType name="row"></p><p>1124 <xs:sequence></p><p>1125 <xs:element name="PerspectiveID" type="xs:unsignedLong" sql:field="PerspectiveID" minOccurs="0" /></p><p>1126 <xs:element name="PerspectiveID.Perspective" type="xs:string" sql:field="PerspectiveID.Perspective" minOccurs="0" /></p><p>1127 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>1128 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>1129 <xs:element name="IncludeAll" type="xs:boolean" sql:field="IncludeAll" minOccurs="0" /></p><p>1130 </xs:sequence></p><p>1131 </xs:complexType></p><p>115 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1132 </xs:schema></p><p>Element Default value</p><p>PerspectiveID</p><p>PerspectiveID.Perspective</p><p>TableID</p><p>TableID.Table</p><p>IncludeAll false</p><p>The properties correspond to the PerspectiveTable object defined in section 2.2.5.17.</p><p>1132.1.1.1.1.1.1.1 Create PerspectiveColumns The Create PerspectiveColumns schema definition is as follows.</p><p>1133 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1134 <xs:element></p><p>1135 <xs:complexType></p><p>1136 <xs:sequence></p><p>1137 <xs:element type="row" /></p><p>1138 </xs:sequence></p><p>1139 </xs:complexType></p><p>1140 </xs:element></p><p>1141 <xs:complexType name="row"></p><p>1142 <xs:sequence></p><p>1143 <xs:element name="PerspectiveTableID" type="xs:unsignedLong" sql:field="PerspectiveTableID" minOccurs="0" /></p><p>1144 <xs:element name="PerspectiveTableID.Perspective" type="xs:string" sql:field="PerspectiveTableID.Perspective" minOccurs="0" /></p><p>1145 <xs:element name="PerspectiveTableID.PerspectiveTable" type="xs:string" sql:field="PerspectiveTableID.PerspectiveTable" minOccurs="0" /></p><p>1146 <xs:element name="ColumnID" type="xs:unsignedLong" sql:field="ColumnID" minOccurs="0" /></p><p>1147 <xs:element name="ColumnID.Table" type="xs:string" sql:field="ColumnID.Table" minOccurs="0" /></p><p>1148 <xs:element name="ColumnID.Column" type="xs:string" sql:field="ColumnID.Column" minOccurs="0" /></p><p>1149 </xs:sequence></p><p>116 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1150 </xs:complexType></p><p>1151 </xs:schema></p><p>Element Default value</p><p>PerspectiveTableID</p><p>PerspectiveTableID.Perspective</p><p>PerspectiveTableID.PerspectiveTable</p><p>ColumnID</p><p>ColumnID.Table</p><p>ColumnID.Column</p><p>The properties correspond to the PerspectiveColumn object defined in section 2.2.5.18.</p><p>1151.1.1.1.1.1.1.1 Create PerspectiveHierarchies The Create PerspectiveHierarchies schema definition is as follows.</p><p>1152 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1153 <xs:element></p><p>1154 <xs:complexType></p><p>1155 <xs:sequence></p><p>1156 <xs:element type="row" /></p><p>1157 </xs:sequence></p><p>1158 </xs:complexType></p><p>1159 </xs:element></p><p>1160 <xs:complexType name="row"></p><p>1161 <xs:sequence></p><p>1162 <xs:element name="PerspectiveTableID" type="xs:unsignedLong" sql:field="PerspectiveTableID" minOccurs="0" /></p><p>1163 <xs:element name="PerspectiveTableID.Perspective" type="xs:string" sql:field="PerspectiveTableID.Perspective" minOccurs="0" /></p><p>1164 <xs:element name="PerspectiveTableID.PerspectiveTable" type="xs:string" sql:field="PerspectiveTableID.PerspectiveTable" minOccurs="0" /></p><p>1165 <xs:element name="HierarchyID" type="xs:unsignedLong" sql:field="HierarchyID" minOccurs="0" /></p><p>1166 <xs:element name="HierarchyID.Table" type="xs:string" sql:field="HierarchyID.Table" minOccurs="0" /></p><p>117 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1167 <xs:element name="HierarchyID.Hierarchy" type="xs:string" sql:field="HierarchyID.Hierarchy" minOccurs="0" /></p><p>1168 </xs:sequence></p><p>1169 </xs:complexType></p><p>1170 </xs:schema></p><p>Element Default value</p><p>PerspectiveTableID</p><p>PerspectiveTableID.Perspective</p><p>PerspectiveTableID.PerspectiveTable</p><p>HierarchyID</p><p>HierarchyID.Table</p><p>HierarchyID.Hierarchy</p><p>The properties correspond to the PerspectiveHierarchy object defined in section 2.2.5.19.</p><p>1170.1.1.1.1.1.1.1 Create PerspectiveMeasures The Create PerspectiveMeasures schema definition is as follows.</p><p>1171 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1172 <xs:element></p><p>1173 <xs:complexType></p><p>1174 <xs:sequence></p><p>1175 <xs:element type="row" /></p><p>1176 </xs:sequence></p><p>1177 </xs:complexType></p><p>1178 </xs:element></p><p>1179 <xs:complexType name="row"></p><p>1180 <xs:sequence></p><p>1181 <xs:element name="PerspectiveTableID" type="xs:unsignedLong" sql:field="PerspectiveTableID" minOccurs="0" /></p><p>1182 <xs:element name="PerspectiveTableID.Perspective" type="xs:string" sql:field="PerspectiveTableID.Perspective" minOccurs="0" /></p><p>1183 <xs:element name="PerspectiveTableID.PerspectiveTable" type="xs:string" sql:field="PerspectiveTableID.PerspectiveTable" minOccurs="0" /></p><p>118 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1184 <xs:element name="MeasureID" type="xs:unsignedLong" sql:field="MeasureID" minOccurs="0" /></p><p>1185 <xs:element name="MeasureID.Table" type="xs:string" sql:field="MeasureID.Table" minOccurs="0" /></p><p>1186 <xs:element name="MeasureID.Measure" type="xs:string" sql:field="MeasureID.Measure" minOccurs="0" /></p><p>1187 </xs:sequence></p><p>1188 </xs:complexType></p><p>1189 </xs:schema></p><p>Element Default value</p><p>PerspectiveTableID</p><p>PerspectiveTableID.Perspective</p><p>PerspectiveTableID.PerspectiveTable</p><p>MeasureID</p><p>MeasureID.Table</p><p>MeasureID.Measure</p><p>The properties correspond to the PerspectiveMeasure object defined in section 2.2.5.20.</p><p>1189.1.1.1.1.1.1.1 Create Roles The Create Roles schema definition is as follows.</p><p>1190 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1191 <xs:element></p><p>1192 <xs:complexType></p><p>1193 <xs:sequence></p><p>1194 <xs:element type="row" /></p><p>1195 </xs:sequence></p><p>1196 </xs:complexType></p><p>1197 </xs:element></p><p>1198 <xs:complexType name="row"></p><p>1199 <xs:sequence></p><p>1200 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1201 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>119 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1202 <xs:element name="ModelPermission" type="xs:long" sql:field="ModelPermission" minOccurs="0" /></p><p>1203 </xs:sequence></p><p>1204 </xs:complexType></p><p>1205 </xs:schema></p><p>Element Default value</p><p>Name</p><p>Description</p><p>ModelPermission "None"</p><p>The properties correspond to the Role object defined in section 2.2.5.21.</p><p>1205.1.1.1.1.1.1.1 Create RoleMemberships The Create RoleMemberships schema definition is as follows.</p><p>1206 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1207 <xs:element></p><p>1208 <xs:complexType></p><p>1209 <xs:sequence></p><p>1210 <xs:element type="row" /></p><p>1211 </xs:sequence></p><p>1212 </xs:complexType></p><p>1213 </xs:element></p><p>1214 <xs:complexType name="row"></p><p>1215 <xs:sequence></p><p>1216 <xs:element name="RoleID" type="xs:unsignedLong" sql:field="RoleID" minOccurs="0" /></p><p>1217 <xs:element name="RoleID.Role" type="xs:string" sql:field="RoleID.Role" minOccurs="0" /></p><p>1218 <xs:element name="MemberName" type="xs:string" sql:field="MemberName" minOccurs="0" /></p><p>1219 <xs:element name="MemberID" type="xs:string" sql:field="MemberID" minOccurs="0" /></p><p>1220 <xs:element name="IdentityProvider" type="xs:string" sql:field="IdentityProvider" minOccurs="0" /></p><p>120 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1221 <xs:element name="MemberType" type="xs:long" sql:field="MemberType" minOccurs="0" /></p><p>1222 </xs:sequence></p><p>1223 </xs:complexType></p><p>1224 </xs:schema></p><p>Element Default value</p><p>RoleID</p><p>RoleID.Role</p><p>MemberName</p><p>MemberID</p><p>IdentityProvider</p><p>MemberType "Auto"</p><p>The properties correspond to the RoleMembership object defined in section 2.2.5.22.</p><p>1224.1.1.1.1.1.1.1 Create TablePermissions The Create TablePermissions schema definition is as follows.</p><p>1225 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1226 <xs:element></p><p>1227 <xs:complexType></p><p>1228 <xs:sequence></p><p>1229 <xs:element type="row" /></p><p>1230 </xs:sequence></p><p>1231 </xs:complexType></p><p>1232 </xs:element></p><p>1233 <xs:complexType name="row"></p><p>1234 <xs:sequence></p><p>1235 <xs:element name="RoleID" type="xs:unsignedLong" sql:field="RoleID" minOccurs="0" /></p><p>1236 <xs:element name="RoleID.Role" type="xs:string" sql:field="RoleID.Role" minOccurs="0" /></p><p>1237 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>121 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1238 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>1239 <xs:element name="FilterExpression" type="xs:string" sql:field="FilterExpression" minOccurs="0" /></p><p>1240 </xs:sequence></p><p>1241 </xs:complexType></p><p>1242 </xs:schema></p><p>Element Default value</p><p>RoleID</p><p>RoleID.Role</p><p>TableID</p><p>TableID.Table</p><p>FilterExpression</p><p>The properties correspond to the TablePermission object defined in section 2.2.5.23.</p><p>1242.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). If the ReturnAffectedObjects XMLA property is set to 0, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2). If the ReturnAffectedObjects XMLA property is set to 1, the response is an object of type AffectedObjects. The structure of the AffectedObjects element is defined in section 2.2.3.1.</p><p>1242.1.1.1.1.2 Alter Tabular Metadata The Alter Tabular Metadata command is used to alter objects that already exist in a Tabular database that has the compatibility level set to 1200. The command requires a DatabaseID child element that identifies the database in which the Tabular metadata objects are to be altered, followed by a set of rowsets that define the properties of the objects that are to be altered. Properties that are not specified will remain unaltered, unless there are side- effects from altering other properties.</p><p>1242.1.1.1.1.2.1 Request The object types allowed are defined in the TabularCommandType object in section 3.1.5.2.1, and the schema of the rowsets for each of these object types is documented in sections 3.1.5.2.1.2.1.1 through 3.1.5.2.1.2.1.22. The Alter command performs some basic validation. For example, references to objects, such as the Column referenced by a Level in a Hierarchy, are validated during execution of the Alter Tabular Metadata API. Other </p><p>122 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 validations, such as syntax and semantic validation of DAX expressions, can be deferred until a later operation. The object being altered is identified with a path based on the names of the parent objects (see section 3.1.5.2.1).</p><p>1242.1.1.1.1.2.1.1 Alter Model The Alter Model schema definition is as follows.</p><p>1243 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1244 <xs:element></p><p>1245 <xs:complexType></p><p>1246 <xs:sequence></p><p>1247 <xs:element type="row" /></p><p>1248 </xs:sequence></p><p>1249 </xs:complexType></p><p>1250 </xs:element></p><p>1251 <xs:complexType name="row"></p><p>1252 <xs:sequence></p><p>1253 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1254 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1255 <xs:element name="StorageLocation" type="xs:string" sql:field="StorageLocation" minOccurs="0" /></p><p>1256 <xs:element name="Mode" type="xs:long" sql:field="Mode" minOccurs="0" /></p><p>1257 <xs:element name="Culture" type="xs:string" sql:field="Culture" minOccurs="0" /></p><p>1258 <xs:element name="Collation" type="xs:string" sql:field="Collation" minOccurs="0" /></p><p>1259 </xs:sequence></p><p>1260 </xs:complexType></p><p>1261 </xs:schema></p><p>Element</p><p>Name</p><p>Description</p><p>StorageLocation</p><p>Mode</p><p>123 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>Culture</p><p>Collation</p><p>The properties correspond to the Model object defined in section 2.2.5.1.</p><p>1261.1.1.1.1.1.1.1 Alter DataSources The Alter DataSources schema definition is as follows.</p><p>1262 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1263 <xs:element></p><p>1264 <xs:complexType></p><p>1265 <xs:sequence></p><p>1266 <xs:element type="row" /></p><p>1267 </xs:sequence></p><p>1268 </xs:complexType></p><p>1269 </xs:element></p><p>1270 <xs:complexType name="row"></p><p>1271 <xs:sequence></p><p>1272 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1273 <xs:element name="ID.DataSource" type="xs:string" sql:field="ID.DataSource" minOccurs="0" /></p><p>1274 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1275 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1276 <xs:element name="ConnectionString" type="xs:string" sql:field="ConnectionString" minOccurs="0" /></p><p>1277 <xs:element name="ImpersonationMode" type="xs:long" sql:field="ImpersonationMode" minOccurs="0" /></p><p>1278 <xs:element name="Account" type="xs:string" sql:field="Account" minOccurs="0" /></p><p>1279 <xs:element name="Password" type="xs:string" sql:field="Password" minOccurs="0" /></p><p>1280 <xs:element name="MaxConnections" type="xs:int" sql:field="MaxConnections" minOccurs="0" /></p><p>1281 <xs:element name="Isolation" type="xs:long" sql:field="Isolation" minOccurs="0" /></p><p>1282 <xs:element name="Timeout" type="xs:int" sql:field="Timeout" minOccurs="0" /></p><p>124 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1283 <xs:element name="Provider" type="xs:string" sql:field="Provider" minOccurs="0" /></p><p>1284 </xs:sequence></p><p>1285 </xs:complexType></p><p>1286 </xs:schema></p><p>Element</p><p>ID</p><p>ID.DataSource</p><p>Name</p><p>Description</p><p>ConnectionString</p><p>ImpersonationMode</p><p>Account</p><p>Password</p><p>MaxConnections</p><p>Isolation</p><p>Timeout</p><p>Provider</p><p>The properties correspond to the DataSource object defined in section 2.2.5.2.</p><p>1286.1.1.1.1.1.1.1 Alter Tables The Alter Tables schema definition is as follows.</p><p>1287 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1288 <xs:element></p><p>1289 <xs:complexType></p><p>1290 <xs:sequence></p><p>1291 <xs:element type="row" /></p><p>1292 </xs:sequence></p><p>1293 </xs:complexType></p><p>1294 </xs:element></p><p>1295 <xs:complexType name="row"></p><p>1296 <xs:sequence></p><p>125 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1297 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1298 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1299 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1300 <xs:element name="DataCategory" type="xs:string" sql:field="DataCategory" minOccurs="0" /></p><p>1301 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1302 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>1303 </xs:sequence></p><p>1304 </xs:complexType></p><p>1305 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>Name</p><p>DataCategory</p><p>Description</p><p>IsHidden</p><p>The properties correspond to the Table object defined in section 2.2.5.3.</p><p>1305.1.1.1.1.1.1.1 Alter Columns The Alter Columns schema definition is as follows.</p><p>1306 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1307 <xs:element></p><p>1308 <xs:complexType></p><p>1309 <xs:sequence></p><p>1310 <xs:element type="row" /></p><p>1311 </xs:sequence></p><p>1312 </xs:complexType></p><p>1313 </xs:element></p><p>1314 <xs:complexType name="row"></p><p>126 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1315 <xs:sequence></p><p>1316 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1317 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1318 <xs:element name="ID.Column" type="xs:string" sql:field="ID.Column" minOccurs="0" /></p><p>1319 <xs:element name="ExplicitName" type="xs:string" sql:field="ExplicitName" minOccurs="0" /></p><p>1320 <xs:element name="ExplicitDataType" type="xs:long" sql:field="ExplicitDataType" minOccurs="0" /></p><p>1321 <xs:element name="DataCategory" type="xs:string" sql:field="DataCategory" minOccurs="0" /></p><p>1322 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1323 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>1324 <xs:element name="IsUnique" type="xs:boolean" sql:field="IsUnique" minOccurs="0" /></p><p>1325 <xs:element name="IsKey" type="xs:boolean" sql:field="IsKey" minOccurs="0" /></p><p>1326 <xs:element name="IsNullable" type="xs:boolean" sql:field="IsNullable" minOccurs="0" /></p><p>1327 <xs:element name="Alignment" type="xs:long" sql:field="Alignment" minOccurs="0" /></p><p>1328 <xs:element name="TableDetailPosition" type="xs:int" sql:field="TableDetailPosition" minOccurs="0" /></p><p>1329 <xs:element name="IsDefaultLabel" type="xs:boolean" sql:field="IsDefaultLabel" minOccurs="0" /></p><p>1330 <xs:element name="IsDefaultImage" type="xs:boolean" sql:field="IsDefaultImage" minOccurs="0" /></p><p>1331 <xs:element name="SummarizeBy" type="xs:long" sql:field="SummarizeBy" minOccurs="0" /></p><p>1332 <xs:element name="SourceColumn" type="xs:string" sql:field="SourceColumn" minOccurs="0" /></p><p>1333 <xs:element name="Expression" type="xs:string" sql:field="Expression" minOccurs="0" /></p><p>1334 <xs:element name="FormatString" type="xs:string" sql:field="FormatString" minOccurs="0" /></p><p>1335 <xs:element name="IsAvailableInMDX" type="xs:boolean" sql:field="IsAvailableInMDX" minOccurs="0" /></p><p>1336 <xs:element name="SortByColumnID" type="xs:unsignedLong" sql:field="SortByColumnID" minOccurs="0" /></p><p>127 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1337 <xs:element name="SortByColumnID.Table" type="xs:string" sql:field="SortByColumnID.Table" minOccurs="0" /></p><p>1338 <xs:element name="SortByColumnID.Column" type="xs:string" sql:field="SortByColumnID.Column" minOccurs="0" /></p><p>1339 <xs:element name="KeepUniqueRows" type="xs:boolean" sql:field="KeepUniqueRows" minOccurs="0" /></p><p>1340 <xs:element name="DisplayOrdinal" type="xs:int" sql:field="DisplayOrdinal" minOccurs="0" /></p><p>1341 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>1342 </xs:sequence></p><p>1343 </xs:complexType></p><p>1344 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Column</p><p>TableID</p><p>TableID.Table</p><p>ExplicitName</p><p>ExplicitDataType</p><p>DataCategory</p><p>Description</p><p>IsHidden</p><p>IsUnique</p><p>IsKey</p><p>IsNullable</p><p>Alignment</p><p>TableDetailPosition</p><p>IsDefaultLabel</p><p>IsDefaultImage</p><p>SummarizeBy</p><p>SourceColumn</p><p>Expression</p><p>FormatString</p><p>IsAvailableInMDX</p><p>SortByColumnID</p><p>SortByColumnID.Table</p><p>SortByColumnID.Column</p><p>128 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>KeepUniqueRows</p><p>DisplayOrdinal</p><p>DisplayFolder</p><p>The properties correspond to the Column object defined in section 2.2.5.4.</p><p>1344.1.1.1.1.1.1.1 Alter Partitions The Alter Partitions schema definition is as follows.</p><p>1345 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1346 <xs:element></p><p>1347 <xs:complexType></p><p>1348 <xs:sequence></p><p>1349 <xs:element type="row" /></p><p>1350 </xs:sequence></p><p>1351 </xs:complexType></p><p>1352 </xs:element></p><p>1353 <xs:complexType name="row"></p><p>1354 <xs:sequence></p><p>1355 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1356 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1357 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0" /></p><p>1358 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1359 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1360 <xs:element name="DataSourceID" type="xs:unsignedLong" sql:field="DataSourceID" minOccurs="0" /></p><p>1361 <xs:element name="DataSourceID.DataSource" type="xs:string" sql:field="DataSourceID.DataSource" minOccurs="0" /></p><p>1362 <xs:element name="QueryDefinition" type="xs:string" sql:field="QueryDefinition" minOccurs="0" /></p><p>1363 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>1364 <xs:element name="Mode" type="xs:long" sql:field="Mode" minOccurs="0" /></p><p>1365 </xs:sequence></p><p>129 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1366 </xs:complexType></p><p>1367 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Partition</p><p>Name</p><p>Description</p><p>DataSourceID</p><p>DataSourceID.DataSource</p><p>QueryDefinition</p><p>Type</p><p>Mode</p><p>The properties correspond to the Partition object defined in section 2.2.5.6.</p><p>1367.1.1.1.1.1.1.1 Alter Relationships The Alter Relationships schema definition is as follows.</p><p>1368 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1369 <xs:element></p><p>1370 <xs:complexType></p><p>1371 <xs:sequence></p><p>1372 <xs:element type="row" /></p><p>1373 </xs:sequence></p><p>1374 </xs:complexType></p><p>1375 </xs:element></p><p>1376 <xs:complexType name="row"></p><p>1377 <xs:sequence></p><p>1378 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1379 <xs:element name="ID.Relationship" type="xs:string" sql:field="ID.Relationship" minOccurs="0" /></p><p>1380 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1381 <xs:element name="IsActive" type="xs:boolean" sql:field="IsActive" minOccurs="0" /></p><p>130 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1382 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>1383 <xs:element name="CrossFilteringBehavior" type="xs:long" sql:field="CrossFilteringBehavior" minOccurs="0" /></p><p>1384 <xs:element name="JoinOnDateBehavior" type="xs:long" sql:field="JoinOnDateBehavior" minOccurs="0" /></p><p>1385 <xs:element name="RelyOnReferentialIntegrity" type="xs:boolean" sql:field="RelyOnReferentialIntegrity" minOccurs="0" /></p><p>1386 <xs:element name="FromTableID" type="xs:unsignedLong" sql:field="FromTableID" minOccurs="0" /></p><p>1387 <xs:element name="FromTableID.Table" type="xs:string" sql:field="FromTableID.Table" minOccurs="0" /></p><p>1388 <xs:element name="FromColumnID" type="xs:unsignedLong" sql:field="FromColumnID" minOccurs="0" /></p><p>1389 <xs:element name="FromColumnID.Table" type="xs:string" sql:field="FromColumnID.Table" minOccurs="0" /></p><p>1390 <xs:element name="FromColumnID.Column" type="xs:string" sql:field="FromColumnID.Column" minOccurs="0" /></p><p>1391 <xs:element name="FromCardinality" type="xs:long" sql:field="FromCardinality" minOccurs="0" /></p><p>1392 <xs:element name="ToTableID" type="xs:unsignedLong" sql:field="ToTableID" minOccurs="0" /></p><p>1393 <xs:element name="ToTableID.Table" type="xs:string" sql:field="ToTableID.Table" minOccurs="0" /></p><p>1394 <xs:element name="ToColumnID" type="xs:unsignedLong" sql:field="ToColumnID" minOccurs="0" /></p><p>1395 <xs:element name="ToColumnID.Table" type="xs:string" sql:field="ToColumnID.Table" minOccurs="0" /></p><p>1396 <xs:element name="ToColumnID.Column" type="xs:string" sql:field="ToColumnID.Column" minOccurs="0" /></p><p>1397 <xs:element name="ToCardinality" type="xs:long" sql:field="ToCardinality" minOccurs="0" /></p><p>1398 <xs:element name="SecurityFilteringBehavior" type="xs:long" sql:field="SecurityFilteringBehavior" minOccurs="0" /></p><p>1399 </xs:sequence></p><p>1400 </xs:complexType></p><p>1401 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Relationship</p><p>131 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>Name</p><p>IsActive</p><p>Type</p><p>CrossFilteringBehavior</p><p>JoinOnDateBehavior</p><p>RelyOnReferentialIntegrity</p><p>FromTableID</p><p>FromTableID.Table</p><p>FromColumnID</p><p>FromColumnID.Table</p><p>FromColumnID.Column</p><p>FromCardinality</p><p>ToTableID</p><p>ToTableID.Table</p><p>ToColumnID</p><p>ToColumnID.Table</p><p>ToColumnID.Column</p><p>ToCardinality</p><p>SecurityFilteringBehavior</p><p>The properties correspond to the Relationship object defined in section 2.2.5.7.</p><p>1401.1.1.1.1.1.1.1 Alter Measures The Alter Measures schema definition is as follows.</p><p>1402 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1403 <xs:element></p><p>1404 <xs:complexType></p><p>1405 <xs:sequence></p><p>1406 <xs:element type="row" /></p><p>1407 </xs:sequence></p><p>1408 </xs:complexType></p><p>1409 </xs:element></p><p>1410 <xs:complexType name="row"></p><p>1411 <xs:sequence></p><p>1412 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>132 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1413 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1414 <xs:element name="ID.Measure" type="xs:string" sql:field="ID.Measure" minOccurs="0" /></p><p>1415 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1416 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1417 <xs:element name="Expression" type="xs:string" sql:field="Expression" minOccurs="0" /></p><p>1418 <xs:element name="FormatString" type="xs:string" sql:field="FormatString" minOccurs="0" /></p><p>1419 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>1420 <xs:element name="IsSimpleMeasure" type="xs:boolean" sql:field="IsSimpleMeasure" minOccurs="0" /></p><p>1421 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>1422 </xs:sequence></p><p>1423 </xs:complexType></p><p>1424 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Measure</p><p>Name</p><p>Description</p><p>Expression</p><p>FormatString</p><p>IsHidden</p><p>IsSimpleMeasure</p><p>DisplayFolder</p><p>The properties correspond to the Measure object defined in section 2.2.5.8.</p><p>1424.1.1.1.1.1.1.1 Alter Hierarchies The Alter Hierarchies schema definition is as follows.</p><p>1425 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1426 <xs:element></p><p>133 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1427 <xs:complexType></p><p>1428 <xs:sequence></p><p>1429 <xs:element type="row" /></p><p>1430 </xs:sequence></p><p>1431 </xs:complexType></p><p>1432 </xs:element></p><p>1433 <xs:complexType name="row"></p><p>1434 <xs:sequence></p><p>1435 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1436 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1437 <xs:element name="ID.Hierarchy" type="xs:string" sql:field="ID.Hierarchy" minOccurs="0" /></p><p>1438 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1439 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1440 <xs:element name="IsHidden" type="xs:boolean" sql:field="IsHidden" minOccurs="0" /></p><p>1441 <xs:element sql:field="DisplayFolder" name="DisplayFolder" type="xs:string" minOccurs="0" /></p><p>1442 </xs:sequence></p><p>1443 </xs:complexType></p><p>1444 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Hierarchy</p><p>Name</p><p>Description</p><p>IsHidden</p><p>DisplayFolder</p><p>The properties correspond to the Hierarchy object defined in section 2.2.5.9.</p><p>1444.1.1.1.1.1.1.1 Alter Levels The Alter Levels schema definition is as follows.</p><p>134 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1445 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1446 <xs:element></p><p>1447 <xs:complexType></p><p>1448 <xs:sequence></p><p>1449 <xs:element type="row" /></p><p>1450 </xs:sequence></p><p>1451 </xs:complexType></p><p>1452 </xs:element></p><p>1453 <xs:complexType name="row"></p><p>1454 <xs:sequence></p><p>1455 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1456 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1457 <xs:element name="ID.Hierarchy" type="xs:string" sql:field="ID.Hierarchy" minOccurs="0" /></p><p>1458 <xs:element name="ID.Level" type="xs:string" sql:field="ID.Level" minOccurs="0" /></p><p>1459 <xs:element name="Ordinal" type="xs:int" sql:field="Ordinal" minOccurs="0" /></p><p>1460 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1461 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1462 <xs:element name="ColumnID" type="xs:unsignedLong" sql:field="ColumnID" minOccurs="0" /></p><p>1463 <xs:element name="ColumnID.Table" type="xs:string" sql:field="ColumnID.Table" minOccurs="0" /></p><p>1464 <xs:element name="ColumnID.Column" type="xs:string" sql:field="ColumnID.Column" minOccurs="0" /></p><p>1465 </xs:sequence></p><p>1466 </xs:complexType></p><p>1467 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Hierarchy</p><p>135 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>ID.Level</p><p>Ordinal</p><p>Name</p><p>Description</p><p>ColumnID</p><p>ColumnID.Table</p><p>ColumnID.Column</p><p>The properties correspond to the Level object defined in section 2.2.5.10.</p><p>1467.1.1.1.1.1.1.1 Alter Annotations The Alter Annotations schema definition is as follows.</p><p>1468 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1469 <xs:element></p><p>1470 <xs:complexType></p><p>1471 <xs:sequence></p><p>1472 <xs:element type="row" /></p><p>1473 </xs:sequence></p><p>1474 </xs:complexType></p><p>1475 </xs:element></p><p>1476 <xs:complexType name="row"></p><p>1477 <xs:sequence></p><p>1478 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1479 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1480 <xs:element name="Value" type="xs:string" sql:field="Value" minOccurs="0" /></p><p>1481 </xs:sequence></p><p>1482 </xs:complexType></p><p>1483 </xs:schema></p><p>Element</p><p>ID</p><p>Name</p><p>Value</p><p>136 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The properties correspond to the Annotation object defined in section 2.2.5.11.</p><p>1483.1.1.1.1.1.1.1 Alter Kpis The Alter Kpis schema definition is as follows.</p><p>1484 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1485 <xs:element></p><p>1486 <xs:complexType></p><p>1487 <xs:sequence></p><p>1488 <xs:element type="row" /></p><p>1489 </xs:sequence></p><p>1490 </xs:complexType></p><p>1491 </xs:element></p><p>1492 <xs:complexType name="row"></p><p>1493 <xs:sequence></p><p>1494 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1495 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1496 <xs:element name="ID.Measure" type="xs:string" sql:field="ID.Measure" minOccurs="0" /></p><p>1497 <xs:element name="ID.KPI" type="xs:string" sql:field="ID.KPI" minOccurs="0" /></p><p>1498 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1499 <xs:element name="TargetDescription" type="xs:string" sql:field="TargetDescription" minOccurs="0" /></p><p>1500 <xs:element name="TargetExpression" type="xs:string" sql:field="TargetExpression" minOccurs="0" /></p><p>1501 <xs:element name="TargetFormatString" type="xs:string" sql:field="TargetFormatString" minOccurs="0" /></p><p>1502 <xs:element name="StatusGraphic" type="xs:string" sql:field="StatusGraphic" minOccurs="0" /></p><p>1503 <xs:element name="StatusDescription" type="xs:string" sql:field="StatusDescription" minOccurs="0" /></p><p>1504 <xs:element name="StatusExpression" type="xs:string" sql:field="StatusExpression" minOccurs="0" /></p><p>1505 <xs:element name="TrendGraphic" type="xs:string" sql:field="TrendGraphic" minOccurs="0" /></p><p>137 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1506 <xs:element name="TrendDescription" type="xs:string" sql:field="TrendDescription" minOccurs="0" /></p><p>1507 <xs:element name="TrendExpression" type="xs:string" sql:field="TrendExpression" minOccurs="0" /></p><p>1508 </xs:sequence></p><p>1509 </xs:complexType></p><p>1510 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Measure</p><p>ID.KPI</p><p>Description</p><p>TargetDescription</p><p>TargetExpression</p><p>TargetFormatString</p><p>StatusGraphic</p><p>StatusDescription</p><p>StatusExpression</p><p>TrendGraphic</p><p>TrendDescription</p><p>TrendExpression</p><p>The properties correspond to the KPI object defined in section 2.2.5.12.</p><p>1510.1.1.1.1.1.1.1 Alter Cultures The Alter Cultures schema definition is as follows.</p><p>1511 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1512 <xs:element></p><p>1513 <xs:complexType></p><p>1514 <xs:sequence></p><p>1515 <xs:element type="row" /></p><p>1516 </xs:sequence></p><p>1517 </xs:complexType></p><p>1518 </xs:element></p><p>138 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1519 <xs:complexType name="row"></p><p>1520 <xs:sequence></p><p>1521 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1522 <xs:element name="ID.Culture" type="xs:string" sql:field="ID.Culture" minOccurs="0" /></p><p>1523 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1524 </xs:sequence></p><p>1525 </xs:complexType></p><p>1526 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Culture</p><p>Name</p><p>The properties correspond to the Culture object defined in section 2.2.5.13.</p><p>1526.1.1.1.1.1.1.1 Alter ObjectTranslations The Alter ObjectTranslations schema definition is as follows.</p><p>1527 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1528 <xs:element></p><p>1529 <xs:complexType></p><p>1530 <xs:sequence></p><p>1531 <xs:element type="row" /></p><p>1532 </xs:sequence></p><p>1533 </xs:complexType></p><p>1534 </xs:element></p><p>1535 <xs:complexType name="row"></p><p>1536 <xs:sequence></p><p>1537 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1538 <xs:element name="Value" type="xs:string" sql:field="Value" minOccurs="0" /></p><p>1539 </xs:sequence></p><p>1540 </xs:complexType></p><p>139 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1541 </xs:schema></p><p>Element</p><p>ID</p><p>Value</p><p>The properties correspond to the ObjectTranslation object defined in section 2.2.5.14.</p><p>1541.1.1.1.1.1.1.1 Alter LinguisticMetadata The Alter LinguisticMetadata schema definition is as follows.</p><p>1542 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1543 <xs:element></p><p>1544 <xs:complexType></p><p>1545 <xs:sequence></p><p>1546 <xs:element type="row" /></p><p>1547 </xs:sequence></p><p>1548 </xs:complexType></p><p>1549 </xs:element></p><p>1550 <xs:complexType name="row"></p><p>1551 <xs:sequence></p><p>1552 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1553 <xs:element name="ID.Culture" type="xs:string" sql:field="ID.Culture" minOccurs="0" /></p><p>1554 <xs:element name="ID.LinguisticMetadata" type="xs:string" sql:field="ID.LinguisticMetadata" minOccurs="0" /></p><p>1555 <xs:element name="Content" type="xs:string" sql:field="Content" minOccurs="0" /></p><p>1556 </xs:sequence></p><p>1557 </xs:complexType></p><p>1558 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Culture</p><p>ID.LinguisticMetadata</p><p>140 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>Content</p><p>The properties correspond to the LinguisticMetadata object defined in section 2.2.5.15.</p><p>1558.1.1.1.1.1.1.1 Alter Perspectives The Alter Perspectives schema definition is as follows.</p><p>1559 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1560 <xs:element></p><p>1561 <xs:complexType></p><p>1562 <xs:sequence></p><p>1563 <xs:element type="row" /></p><p>1564 </xs:sequence></p><p>1565 </xs:complexType></p><p>1566 </xs:element></p><p>1567 <xs:complexType name="row"></p><p>1568 <xs:sequence></p><p>1569 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1570 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1571 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1572 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1573 </xs:sequence></p><p>1574 </xs:complexType></p><p>1575 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>Name</p><p>Description</p><p>141 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The properties correspond to the Perspective object defined in section 2.2.5.16.</p><p>1575.1.1.1.1.1.1.1 Alter PerspectiveTables The Alter PerspectiveTables schema definition is as follows.</p><p>1576 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1577 <xs:element></p><p>1578 <xs:complexType></p><p>1579 <xs:sequence></p><p>1580 <xs:element type="row" /></p><p>1581 </xs:sequence></p><p>1582 </xs:complexType></p><p>1583 </xs:element></p><p>1584 <xs:complexType name="row"></p><p>1585 <xs:sequence></p><p>1586 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1587 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1588 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>1589 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>1590 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>1591 <xs:element name="IncludeAll" type="xs:boolean" sql:field="IncludeAll" minOccurs="0" /></p><p>1592 </xs:sequence></p><p>1593 </xs:complexType></p><p>1594 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>TableID</p><p>TableID.Table</p><p>142 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>IncludeAll</p><p>The properties correspond to the PerspectiveTable object defined in section 2.2.5.17.</p><p>1594.1.1.1.1.1.1.1 Alter PerspectiveColumns The Alter PerspectiveColumns schema definition is as follows.</p><p>1595 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1596 <xs:element></p><p>1597 <xs:complexType></p><p>1598 <xs:sequence></p><p>1599 <xs:element type="row" /></p><p>1600 </xs:sequence></p><p>1601 </xs:complexType></p><p>1602 </xs:element></p><p>1603 <xs:complexType name="row"></p><p>1604 <xs:sequence></p><p>1605 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1606 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1607 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>1608 <xs:element name="ID.PerspectiveColumn" type="xs:string" sql:field="ID.PerspectiveColumn" minOccurs="0" /></p><p>1609 <xs:element name="ColumnID" type="xs:unsignedLong" sql:field="ColumnID" minOccurs="0" /></p><p>1610 <xs:element name="ColumnID.Table" type="xs:string" sql:field="ColumnID.Table" minOccurs="0" /></p><p>1611 <xs:element name="ColumnID.Column" type="xs:string" sql:field="ColumnID.Column" minOccurs="0" /></p><p>1612 </xs:sequence></p><p>1613 </xs:complexType></p><p>1614 </xs:schema></p><p>Element</p><p>ID</p><p>143 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>ID.PerspectiveColumn</p><p>ColumnID</p><p>ColumnID.Table</p><p>ColumnID.Column</p><p>The properties correspond to the PerspectiveColumn object defined in section 2.2.5.18.</p><p>1614.1.1.1.1.1.1.1 Alter PerspectiveHierarchies The Alter PerspectiveHierarchies schema definition is as follows.</p><p>1615 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1616 <xs:element></p><p>1617 <xs:complexType></p><p>1618 <xs:sequence></p><p>1619 <xs:element type="row" /></p><p>1620 </xs:sequence></p><p>1621 </xs:complexType></p><p>1622 </xs:element></p><p>1623 <xs:complexType name="row"></p><p>1624 <xs:sequence></p><p>1625 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1626 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1627 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>1628 <xs:element name="ID.PerspectiveHierarchy" type="xs:string" sql:field="ID.PerspectiveHierarchy" minOccurs="0" /></p><p>1629 <xs:element name="HierarchyID" type="xs:unsignedLong" sql:field="HierarchyID" minOccurs="0" /></p><p>1630 <xs:element name="HierarchyID.Table" type="xs:string" sql:field="HierarchyID.Table" minOccurs="0" /></p><p>1631 <xs:element name="HierarchyID.Hierarchy" type="xs:string" sql:field="HierarchyID.Hierarchy" minOccurs="0" /></p><p>144 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1632 </xs:sequence></p><p>1633 </xs:complexType></p><p>1634 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>ID.PerspectiveHierarchy</p><p>HierarchyID</p><p>HierarchyID.Table</p><p>HierarchyID.Hierarchy</p><p>The properties correspond to the PerspectiveHierarchy object defined in section 2.2.5.19.</p><p>1634.1.1.1.1.1.1.1 Alter PerspectiveMeasures The Alter PerspectiveMeasures schema definition is as follows.</p><p>1635 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1636 <xs:element></p><p>1637 <xs:complexType></p><p>1638 <xs:sequence></p><p>1639 <xs:element type="row" /></p><p>1640 </xs:sequence></p><p>1641 </xs:complexType></p><p>1642 </xs:element></p><p>1643 <xs:complexType name="row"></p><p>1644 <xs:sequence></p><p>1645 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1646 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1647 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>1648 <xs:element name="ID.PerspectiveMeasure" type="xs:string" sql:field="ID.PerspectiveMeasure" minOccurs="0" /></p><p>145 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1649 <xs:element name="MeasureID" type="xs:unsignedLong" sql:field="MeasureID" minOccurs="0" /></p><p>1650 <xs:element name="MeasureID.Table" type="xs:string" sql:field="MeasureID.Table" minOccurs="0" /></p><p>1651 <xs:element name="MeasureID.Measure" type="xs:string" sql:field="MeasureID.Measure" minOccurs="0" /></p><p>1652 </xs:sequence></p><p>1653 </xs:complexType></p><p>1654 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>ID.PerspectiveMeasure</p><p>MeasureID</p><p>MeasureID.Table</p><p>MeasureID.Measure</p><p>The properties correspond to the PerspectiveMeasure object defined in section 2.2.5.20.</p><p>1654.1.1.1.1.1.1.1 Alter Roles The Alter Roles schema definition is as follows.</p><p>1655 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1656 <xs:element></p><p>1657 <xs:complexType></p><p>1658 <xs:sequence></p><p>1659 <xs:element type="row" /></p><p>1660 </xs:sequence></p><p>1661 </xs:complexType></p><p>1662 </xs:element></p><p>1663 <xs:complexType name="row"></p><p>1664 <xs:sequence></p><p>1665 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>146 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1666 <xs:element name="ID.Role" type="xs:string" sql:field="ID.Role" minOccurs="0" /></p><p>1667 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>1668 <xs:element name="Description" type="xs:string" sql:field="Description" minOccurs="0" /></p><p>1669 <xs:element name="ModelPermission" type="xs:long" sql:field="ModelPermission" minOccurs="0" /></p><p>1670 </xs:sequence></p><p>1671 </xs:complexType></p><p>1672 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Role</p><p>Name</p><p>Description</p><p>ModelPermission</p><p>The properties correspond to the Role object defined in section 2.2.5.21.</p><p>1672.1.1.1.1.1.1.1 Alter RoleMemberships The Alter RoleMemberships schema definition is as follows.</p><p>1673 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1674 <xs:element></p><p>1675 <xs:complexType></p><p>1676 <xs:sequence></p><p>1677 <xs:element type="row" /></p><p>1678 </xs:sequence></p><p>1679 </xs:complexType></p><p>1680 </xs:element></p><p>1681 <xs:complexType name="row"></p><p>1682 <xs:sequence></p><p>1683 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1684 <xs:element name="ID.Role" type="xs:string" sql:field="ID.Role" minOccurs="0" /></p><p>147 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1685 <xs:element name="ID.RoleMembership" type="xs:string" sql:field="ID.RoleMembership" minOccurs="0" /></p><p>1686 </xs:sequence></p><p>1687 </xs:complexType></p><p>1688 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Role</p><p>ID.RoleMembership</p><p>The properties correspond to the RoleMembership object defined in section 2.2.5.22.</p><p>1688.1.1.1.1.1.1.1 Alter TablePermissions The Alter TablePermissions schema definition is as follows.</p><p>1689 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1690 <xs:element></p><p>1691 <xs:complexType></p><p>1692 <xs:sequence></p><p>1693 <xs:element type="row" /></p><p>1694 </xs:sequence></p><p>1695 </xs:complexType></p><p>1696 </xs:element></p><p>1697 <xs:complexType name="row"></p><p>1698 <xs:sequence></p><p>1699 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1700 <xs:element name="ID.Role" type="xs:string" sql:field="ID.Role" minOccurs="0" /></p><p>1701 <xs:element name="ID.TablePermission" type="xs:string" sql:field="ID.TablePermission" minOccurs="0" /></p><p>1702 <xs:element name="TableID" type="xs:unsignedLong" sql:field="TableID" minOccurs="0" /></p><p>1703 <xs:element name="TableID.Table" type="xs:string" sql:field="TableID.Table" minOccurs="0" /></p><p>148 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1704 <xs:element name="FilterExpression" type="xs:string" sql:field="FilterExpression" minOccurs="0" /></p><p>1705 </xs:sequence></p><p>1706 </xs:complexType></p><p>1707 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Role</p><p>ID.TablePermission</p><p>TableID</p><p>TableID.Table</p><p>FilterExpression</p><p>The properties correspond to the TablePermission object defined in section 2.2.5.23.</p><p>1707.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). If the ReturnAffectedObjects XMLA property is set to 0, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2). If the ReturnAffectedObjects XMLA property is set to 1, the response is an object of type AffectedObjects. The structure of the AffectedObjects element is defined in section 2.2.3.1.</p><p>1707.1.1.1.1.2 Delete Tabular Metadata The Delete Tabular Metadata command is used to delete objects in a Tabular database that has the compatibility level set to 1200. The command requires a DatabaseID child element that identifies the database in which the Tabular metadata objects are to be deleted, followed by a set of rowsets that define the objects that are to be deleted.</p><p>1707.1.1.1.1.2.1 Request The object types allowed are defined in the TabularCommandType object in section 3.1.5.2.1, and the schema of the rowsets for these object types is documented in the following subsections. Deletion of objects performs some basic validation. For example, references to parent objects, such as the table to which a Column object belongs, are validated during execution of the Delete Tabular Metadata API. Other validations, such as syntax and semantic validation of DAX expressions, can be deferred until a later operation.</p><p>149 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The object being deleted is identified with a path based on the names of the parent objects (see section 3.1.5.2.1).</p><p>1707.1.1.1.1.2.1.1 Delete Model The Delete Model schema definition is as follows.</p><p>1708 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1709 <xs:element></p><p>1710 <xs:complexType></p><p>1711 <xs:sequence></p><p>1712 <xs:element type="row" /></p><p>1713 </xs:sequence></p><p>1714 </xs:complexType></p><p>1715 </xs:element></p><p>1716 <xs:complexType name="row"></p><p>1717 <xs:sequence /></p><p>1718 </xs:complexType></p><p>1719 </xs:schema></p><p>1719.1.1.1.1.1.1.1 Delete DataSources The Delete DataSources schema definition is as follows.</p><p>1720 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1721 <xs:element></p><p>1722 <xs:complexType></p><p>1723 <xs:sequence></p><p>1724 <xs:element type="row" /></p><p>1725 </xs:sequence></p><p>1726 </xs:complexType></p><p>1727 </xs:element></p><p>1728 <xs:complexType name="row"></p><p>1729 <xs:sequence></p><p>1730 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>150 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1731 <xs:element name="ID.DataSource" type="xs:string" sql:field="ID.DataSource" minOccurs="0" /></p><p>1732 </xs:sequence></p><p>1733 </xs:complexType></p><p>1734 </xs:schema></p><p>Element</p><p>ID</p><p>ID.DataSource</p><p>1734.1.1.1.1.1.1.1 Delete Tables The Delete Tables schema definition is as follows.</p><p>1735 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1736 <xs:element></p><p>1737 <xs:complexType></p><p>1738 <xs:sequence></p><p>1739 <xs:element type="row" /></p><p>1740 </xs:sequence></p><p>1741 </xs:complexType></p><p>1742 </xs:element></p><p>1743 <xs:complexType name="row"></p><p>1744 <xs:sequence></p><p>1745 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1746 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1747 </xs:sequence></p><p>1748 </xs:complexType></p><p>1749 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>151 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1749.1.1.1.1.1.1.1 Delete Columns The Delete Columns schema definition is as follows.</p><p>1750 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1751 <xs:element></p><p>1752 <xs:complexType></p><p>1753 <xs:sequence></p><p>1754 <xs:element type="row" /></p><p>1755 </xs:sequence></p><p>1756 </xs:complexType></p><p>1757 </xs:element></p><p>1758 <xs:complexType name="row"></p><p>1759 <xs:sequence></p><p>1760 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1761 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1762 <xs:element name="ID.Column" type="xs:string" sql:field="ID.Column" minOccurs="0" /></p><p>1763 </xs:sequence></p><p>1764 </xs:complexType></p><p>1765 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Column</p><p>1765.1.1.1.1.1.1.1 Delete Partitions The Delete Partitions schema definition is as follows.</p><p>1766 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1767 <xs:element></p><p>1768 <xs:complexType></p><p>1769 <xs:sequence></p><p>1770 <xs:element type="row" /></p><p>152 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1771 </xs:sequence></p><p>1772 </xs:complexType></p><p>1773 </xs:element></p><p>1774 <xs:complexType name="row"></p><p>1775 <xs:sequence></p><p>1776 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1777 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1778 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0" /></p><p>1779 </xs:sequence></p><p>1780 </xs:complexType></p><p>1781 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Partition</p><p>1781.1.1.1.1.1.1.1 Delete Relationships The Delete Relationships schema definition is as follows.</p><p>1782 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1783 <xs:element></p><p>1784 <xs:complexType></p><p>1785 <xs:sequence></p><p>1786 <xs:element type="row" /></p><p>1787 </xs:sequence></p><p>1788 </xs:complexType></p><p>1789 </xs:element></p><p>1790 <xs:complexType name="row"></p><p>1791 <xs:sequence></p><p>1792 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>153 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1793 <xs:element name="ID.Relationship" type="xs:string" sql:field="ID.Relationship" minOccurs="0" /></p><p>1794 </xs:sequence></p><p>1795 </xs:complexType></p><p>1796 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Relationship</p><p>1796.1.1.1.1.1.1.1 Delete Measures The Delete Measures schema definition is as follows.</p><p>1797 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1798 <xs:element></p><p>1799 <xs:complexType></p><p>1800 <xs:sequence></p><p>1801 <xs:element type="row" /></p><p>1802 </xs:sequence></p><p>1803 </xs:complexType></p><p>1804 </xs:element></p><p>1805 <xs:complexType name="row"></p><p>1806 <xs:sequence></p><p>1807 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1808 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1809 <xs:element name="ID.Measure" type="xs:string" sql:field="ID.Measure" minOccurs="0" /></p><p>1810 </xs:sequence></p><p>1811 </xs:complexType></p><p>1812 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>154 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>ID.Measure</p><p>1812.1.1.1.1.1.1.1 Delete Hierarchies The Delete Hierarchies schema definition is as follows.</p><p>1813 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1814 <xs:element></p><p>1815 <xs:complexType></p><p>1816 <xs:sequence></p><p>1817 <xs:element type="row" /></p><p>1818 </xs:sequence></p><p>1819 </xs:complexType></p><p>1820 </xs:element></p><p>1821 <xs:complexType name="row"></p><p>1822 <xs:sequence></p><p>1823 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1824 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1825 <xs:element name="ID.Hierarchy" type="xs:string" sql:field="ID.Hierarchy" minOccurs="0" /></p><p>1826 </xs:sequence></p><p>1827 </xs:complexType></p><p>1828 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Hierarchy</p><p>1828.1.1.1.1.1.1.1 Delete Levels The Delete Levels schema definition is as follows.</p><p>1829 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>155 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1830 <xs:element></p><p>1831 <xs:complexType></p><p>1832 <xs:sequence></p><p>1833 <xs:element type="row" /></p><p>1834 </xs:sequence></p><p>1835 </xs:complexType></p><p>1836 </xs:element></p><p>1837 <xs:complexType name="row"></p><p>1838 <xs:sequence></p><p>1839 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1840 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1841 <xs:element name="ID.Hierarchy" type="xs:string" sql:field="ID.Hierarchy" minOccurs="0" /></p><p>1842 <xs:element name="ID.Level" type="xs:string" sql:field="ID.Level" minOccurs="0" /></p><p>1843 </xs:sequence></p><p>1844 </xs:complexType></p><p>1845 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Hierarchy</p><p>ID.Level</p><p>1845.1.1.1.1.1.1.1 Delete Annotations The Delete Annotations schema definition is as follows.</p><p>1846 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1847 <xs:element></p><p>1848 <xs:complexType></p><p>1849 <xs:sequence></p><p>1850 <xs:element type="row" /></p><p>156 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1851 </xs:sequence></p><p>1852 </xs:complexType></p><p>1853 </xs:element></p><p>1854 <xs:complexType name="row"></p><p>1855 <xs:sequence></p><p>1856 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1857 </xs:sequence></p><p>1858 </xs:complexType></p><p>1859 </xs:schema></p><p>Element</p><p>ID</p><p>1859.1.1.1.1.1.1.1 Delete Kpis The Delete Kpis schema definition is as follows.</p><p>1860 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1861 <xs:element></p><p>1862 <xs:complexType></p><p>1863 <xs:sequence></p><p>1864 <xs:element type="row" /></p><p>1865 </xs:sequence></p><p>1866 </xs:complexType></p><p>1867 </xs:element></p><p>1868 <xs:complexType name="row"></p><p>1869 <xs:sequence></p><p>1870 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1871 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>1872 <xs:element name="ID.Measure" type="xs:string" sql:field="ID.Measure" minOccurs="0" /></p><p>1873 <xs:element name="ID.KPI" type="xs:string" sql:field="ID.KPI" minOccurs="0" /></p><p>157 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1874 </xs:sequence></p><p>1875 </xs:complexType></p><p>1876 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Measure</p><p>ID.KPI</p><p>1876.1.1.1.1.1.1.1 Delete Cultures The Delete Cultures schema definition is as follows.</p><p>1877 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1878 <xs:element></p><p>1879 <xs:complexType></p><p>1880 <xs:sequence></p><p>1881 <xs:element type="row" /></p><p>1882 </xs:sequence></p><p>1883 </xs:complexType></p><p>1884 </xs:element></p><p>1885 <xs:complexType name="row"></p><p>1886 <xs:sequence></p><p>1887 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1888 <xs:element name="ID.Culture" type="xs:string" sql:field="ID.Culture" minOccurs="0" /></p><p>1889 </xs:sequence></p><p>1890 </xs:complexType></p><p>1891 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Culture</p><p>158 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1891.1.1.1.1.1.1.1 Delete ObjectTranslations The Delete ObjectTranslations schema definition is as follows.</p><p>1892 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1893 <xs:element></p><p>1894 <xs:complexType></p><p>1895 <xs:sequence></p><p>1896 <xs:element type="row" /></p><p>1897 </xs:sequence></p><p>1898 </xs:complexType></p><p>1899 </xs:element></p><p>1900 <xs:complexType name="row"></p><p>1901 <xs:sequence></p><p>1902 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1903 </xs:sequence></p><p>1904 </xs:complexType></p><p>1905 </xs:schema></p><p>Element</p><p>ID</p><p>1905.1.1.1.1.1.1.1 Delete LinguisticMetadata The Delete LinguisticMetadata schema definition is as follows.</p><p>1906 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1907 <xs:element></p><p>1908 <xs:complexType></p><p>1909 <xs:sequence></p><p>1910 <xs:element type="row" /></p><p>1911 </xs:sequence></p><p>1912 </xs:complexType></p><p>1913 </xs:element></p><p>1914 <xs:complexType name="row"></p><p>159 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1915 <xs:sequence></p><p>1916 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1917 <xs:element name="ID.Culture" type="xs:string" sql:field="ID.Culture" minOccurs="0" /></p><p>1918 <xs:element name="ID.LinguisticMetadata" type="xs:string" sql:field="ID.LinguisticMetadata" minOccurs="0" /></p><p>1919 </xs:sequence></p><p>1920 </xs:complexType></p><p>1921 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Culture</p><p>ID.LinguisticMetadata</p><p>1921.1.1.1.1.1.1.1 Delete Perspectives The Delete Perspectives schema definition is as follows.</p><p>1922 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1923 <xs:element></p><p>1924 <xs:complexType></p><p>1925 <xs:sequence></p><p>1926 <xs:element type="row" /></p><p>1927 </xs:sequence></p><p>1928 </xs:complexType></p><p>1929 </xs:element></p><p>1930 <xs:complexType name="row"></p><p>1931 <xs:sequence></p><p>1932 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1933 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1934 </xs:sequence></p><p>1935 </xs:complexType></p><p>1936 </xs:schema></p><p>160 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>ID</p><p>ID.Perspective</p><p>1936.1.1.1.1.1.1.1 Delete PerspectiveTables The Delete PerspectiveTables schema definition is as follows.</p><p>1937 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1938 <xs:element></p><p>1939 <xs:complexType></p><p>1940 <xs:sequence></p><p>1941 <xs:element type="row" /></p><p>1942 </xs:sequence></p><p>1943 </xs:complexType></p><p>1944 </xs:element></p><p>1945 <xs:complexType name="row"></p><p>1946 <xs:sequence></p><p>1947 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1948 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1949 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>1950 </xs:sequence></p><p>1951 </xs:complexType></p><p>1952 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>1952.1.1.1.1.1.1.1 Delete PerspectiveColumns The Delete PerspectiveColumns schema definition is as follows.</p><p>1953 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>161 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1954 <xs:element></p><p>1955 <xs:complexType></p><p>1956 <xs:sequence></p><p>1957 <xs:element type="row" /></p><p>1958 </xs:sequence></p><p>1959 </xs:complexType></p><p>1960 </xs:element></p><p>1961 <xs:complexType name="row"></p><p>1962 <xs:sequence></p><p>1963 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1964 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1965 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>1966 <xs:element name="ID.PerspectiveColumn" type="xs:string" sql:field="ID.PerspectiveColumn" minOccurs="0" /></p><p>1967 </xs:sequence></p><p>1968 </xs:complexType></p><p>1969 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>ID.PerspectiveColumn</p><p>1969.1.1.1.1.1.1.1 Delete PerspectiveHierarchies The Delete PerspectiveHierarchies schema definition is as follows.</p><p>1970 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1971 <xs:element></p><p>1972 <xs:complexType></p><p>1973 <xs:sequence></p><p>1974 <xs:element type="row" /></p><p>162 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1975 </xs:sequence></p><p>1976 </xs:complexType></p><p>1977 </xs:element></p><p>1978 <xs:complexType name="row"></p><p>1979 <xs:sequence></p><p>1980 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1981 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1982 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>1983 <xs:element name="ID.PerspectiveHierarchy" type="xs:string" sql:field="ID.PerspectiveHierarchy" minOccurs="0" /></p><p>1984 </xs:sequence></p><p>1985 </xs:complexType></p><p>1986 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>ID.PerspectiveHierarchy</p><p>1986.1.1.1.1.1.1.1 Delete PerspectiveMeasures The Delete PerspectiveMeasures schema definition is as follows.</p><p>1987 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>1988 <xs:element></p><p>1989 <xs:complexType></p><p>1990 <xs:sequence></p><p>1991 <xs:element type="row" /></p><p>1992 </xs:sequence></p><p>1993 </xs:complexType></p><p>1994 </xs:element></p><p>1995 <xs:complexType name="row"></p><p>163 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 1996 <xs:sequence></p><p>1997 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>1998 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>1999 <xs:element name="ID.PerspectiveTable" type="xs:string" sql:field="ID.PerspectiveTable" minOccurs="0" /></p><p>2000 <xs:element name="ID.PerspectiveMeasure" type="xs:string" sql:field="ID.PerspectiveMeasure" minOccurs="0" /></p><p>2001 </xs:sequence></p><p>2002 </xs:complexType></p><p>2003 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>ID.PerspectiveTable</p><p>ID.PerspectiveMeasure</p><p>2003.1.1.1.1.1.1.1 Delete Roles The Delete Roles schema definition is as follows.</p><p>2004 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2005 <xs:element></p><p>2006 <xs:complexType></p><p>2007 <xs:sequence></p><p>2008 <xs:element type="row" /></p><p>2009 </xs:sequence></p><p>2010 </xs:complexType></p><p>2011 </xs:element></p><p>2012 <xs:complexType name="row"></p><p>2013 <xs:sequence></p><p>2014 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2015 <xs:element name="ID.Role" type="xs:string" sql:field="ID.Role" minOccurs="0" /></p><p>164 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2016 </xs:sequence></p><p>2017 </xs:complexType></p><p>2018 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Role</p><p>2018.1.1.1.1.1.1.1 Delete RoleMemberships The Delete RoleMemberships schema definition is as follows.</p><p>2019 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2020 <xs:element></p><p>2021 <xs:complexType></p><p>2022 <xs:sequence></p><p>2023 <xs:element type="row" /></p><p>2024 </xs:sequence></p><p>2025 </xs:complexType></p><p>2026 </xs:element></p><p>2027 <xs:complexType name="row"></p><p>2028 <xs:sequence></p><p>2029 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2030 <xs:element name="ID.Role" type="xs:string" sql:field="ID.Role" minOccurs="0" /></p><p>2031 <xs:element name="ID.RoleMembership" type="xs:string" sql:field="ID.RoleMembership" minOccurs="0" /></p><p>2032 </xs:sequence></p><p>2033 </xs:complexType></p><p>2034 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Role</p><p>ID.RoleMembership</p><p>165 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2034.1.1.1.1.1.1.1 Delete TablePermissions The Delete TablePermissions schema definition is as follows.</p><p>2035 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2036 <xs:element></p><p>2037 <xs:complexType></p><p>2038 <xs:sequence></p><p>2039 <xs:element type="row" /></p><p>2040 </xs:sequence></p><p>2041 </xs:complexType></p><p>2042 </xs:element></p><p>2043 <xs:complexType name="row"></p><p>2044 <xs:sequence></p><p>2045 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2046 <xs:element name="ID.Role" type="xs:string" sql:field="ID.Role" minOccurs="0" /></p><p>2047 <xs:element name="ID.TablePermission" type="xs:string" sql:field="ID.TablePermission" minOccurs="0" /></p><p>2048 </xs:sequence></p><p>2049 </xs:complexType></p><p>2050 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Role</p><p>ID.TablePermission</p><p>2050.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). If the ReturnAffectedObjects XMLA property is set to 0, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2). If the ReturnAffectedObjects XMLA property is set to 1, the response is an object of type AffectedObjects. The structure of the AffectedObjects element is defined in section 2.2.3.1.</p><p>2050.1.1.1.1.2 Rename Tabular Metadata</p><p>166 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The Rename Tabular Metadata command is used to rename objects in a Tabular database that has the compatibility level set to 1200. The command requires a DatabaseID child element that identifies the database in which the Tabular metadata objects are to be renamed, followed by a set of rowsets that define the new names of the objects. The Rename API will automatically update the references to the renamed objects in DAX expressions.</p><p>2050.1.1.1.1.2.1 Request The object types allowed are defined in the TabularCommandType object in section 3.1.5.2.1, and the schema of the rowsets for these object types is documented in the following subsections. Renaming of objects performs some basic validation. For example, references to parent objects, such as the table to which a Column object belongs, are validated during execution of the Rename Tabular Metadata API. Other validations, such as syntax and semantic validation of DAX expressions, can be deferred until a later operation. The object being renamed is identified with a path based on the names of the parent objects (see section 3.1.5.2.1).</p><p>2050.1.1.1.1.2.1.1 Rename Model The Rename Model schema definition is as follows.</p><p>2051 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2052 <xs:element></p><p>2053 <xs:complexType></p><p>2054 <xs:sequence></p><p>2055 <xs:element type="row" /></p><p>2056 </xs:sequence></p><p>2057 </xs:complexType></p><p>2058 </xs:element></p><p>2059 <xs:complexType name="row"></p><p>2060 <xs:sequence></p><p>2061 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2062 </xs:sequence></p><p>2063 </xs:complexType></p><p>2064 </xs:schema></p><p>Element</p><p>Name</p><p>167 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2064.1.1.1.1.1.1.1 Rename DataSources The Rename DataSources schema definition is as follows.</p><p>2065 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2066 <xs:element></p><p>2067 <xs:complexType></p><p>2068 <xs:sequence></p><p>2069 <xs:element type="row" /></p><p>2070 </xs:sequence></p><p>2071 </xs:complexType></p><p>2072 </xs:element></p><p>2073 <xs:complexType name="row"></p><p>2074 <xs:sequence></p><p>2075 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2076 <xs:element name="ID.DataSource" type="xs:string" sql:field="ID.DataSource" minOccurs="0" /></p><p>2077 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2078 </xs:sequence></p><p>2079 </xs:complexType></p><p>2080 </xs:schema></p><p>Element</p><p>ID</p><p>ID.DataSource</p><p>Name</p><p>2080.1.1.1.1.1.1.1 Rename Tables The Rename Tables schema definition is as follows.</p><p>2081 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2082 <xs:element></p><p>2083 <xs:complexType></p><p>2084 <xs:sequence></p><p>168 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2085 <xs:element type="row" /></p><p>2086 </xs:sequence></p><p>2087 </xs:complexType></p><p>2088 </xs:element></p><p>2089 <xs:complexType name="row"></p><p>2090 <xs:sequence></p><p>2091 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2092 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2093 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2094 </xs:sequence></p><p>2095 </xs:complexType></p><p>2096 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>Name</p><p>2096.1.1.1.1.1.1.1 Rename Columns The Rename Columns schema definition is as follows.</p><p>2097 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2098 <xs:element></p><p>2099 <xs:complexType></p><p>2100 <xs:sequence></p><p>2101 <xs:element type="row" /></p><p>2102 </xs:sequence></p><p>2103 </xs:complexType></p><p>2104 </xs:element></p><p>2105 <xs:complexType name="row"></p><p>2106 <xs:sequence></p><p>169 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2107 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2108 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2109 <xs:element name="ID.Column" type="xs:string" sql:field="ID.Column" minOccurs="0" /></p><p>2110 <xs:element name="ExplicitName" type="xs:string" sql:field="ExplicitName" minOccurs="0" /></p><p>2111 </xs:sequence></p><p>2112 </xs:complexType></p><p>2113 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Column</p><p>ExplicitName</p><p>2113.1.1.1.1.1.1.1 Rename Partitions The Rename Partitions schema definition is as follows.</p><p>2114 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2115 <xs:element></p><p>2116 <xs:complexType></p><p>2117 <xs:sequence></p><p>2118 <xs:element type="row" /></p><p>2119 </xs:sequence></p><p>2120 </xs:complexType></p><p>2121 </xs:element></p><p>2122 <xs:complexType name="row"></p><p>2123 <xs:sequence></p><p>2124 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2125 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2126 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0" /></p><p>170 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2127 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2128 </xs:sequence></p><p>2129 </xs:complexType></p><p>2130 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Partition</p><p>Name</p><p>2130.1.1.1.1.1.1.1 Rename Relationships The Rename Relationships schema definition is as follows.</p><p>2131 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2132 <xs:element></p><p>2133 <xs:complexType></p><p>2134 <xs:sequence></p><p>2135 <xs:element type="row" /></p><p>2136 </xs:sequence></p><p>2137 </xs:complexType></p><p>2138 </xs:element></p><p>2139 <xs:complexType name="row"></p><p>2140 <xs:sequence></p><p>2141 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2142 <xs:element name="ID.Relationship" type="xs:string" sql:field="ID.Relationship" minOccurs="0" /></p><p>2143 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2144 </xs:sequence></p><p>2145 </xs:complexType></p><p>2146 </xs:schema></p><p>Element</p><p>ID</p><p>171 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element</p><p>ID.Relationship</p><p>Name</p><p>2146.1.1.1.1.1.1.1 Rename Measures The Rename Measures schema definition is as follows.</p><p>2147 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2148 <xs:element></p><p>2149 <xs:complexType></p><p>2150 <xs:sequence></p><p>2151 <xs:element type="row" /></p><p>2152 </xs:sequence></p><p>2153 </xs:complexType></p><p>2154 </xs:element></p><p>2155 <xs:complexType name="row"></p><p>2156 <xs:sequence></p><p>2157 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2158 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2159 <xs:element name="ID.Measure" type="xs:string" sql:field="ID.Measure" minOccurs="0" /></p><p>2160 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2161 </xs:sequence></p><p>2162 </xs:complexType></p><p>2163 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Measure</p><p>Name</p><p>2163.1.1.1.1.1.1.1 Rename Hierarchies The Rename Hierarchies schema definition is as follows.</p><p>172 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2164 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2165 <xs:element></p><p>2166 <xs:complexType></p><p>2167 <xs:sequence></p><p>2168 <xs:element type="row" /></p><p>2169 </xs:sequence></p><p>2170 </xs:complexType></p><p>2171 </xs:element></p><p>2172 <xs:complexType name="row"></p><p>2173 <xs:sequence></p><p>2174 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2175 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2176 <xs:element name="ID.Hierarchy" type="xs:string" sql:field="ID.Hierarchy" minOccurs="0" /></p><p>2177 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2178 </xs:sequence></p><p>2179 </xs:complexType></p><p>2180 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Hierarchy</p><p>Name</p><p>2180.1.1.1.1.1.1.1 Rename Levels The Rename Levels schema definition is as follows.</p><p>2181 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2182 <xs:element></p><p>2183 <xs:complexType></p><p>2184 <xs:sequence></p><p>173 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2185 <xs:element type="row" /></p><p>2186 </xs:sequence></p><p>2187 </xs:complexType></p><p>2188 </xs:element></p><p>2189 <xs:complexType name="row"></p><p>2190 <xs:sequence></p><p>2191 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2192 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2193 <xs:element name="ID.Hierarchy" type="xs:string" sql:field="ID.Hierarchy" minOccurs="0" /></p><p>2194 <xs:element name="ID.Level" type="xs:string" sql:field="ID.Level" minOccurs="0" /></p><p>2195 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2196 </xs:sequence></p><p>2197 </xs:complexType></p><p>2198 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Table</p><p>ID.Hierarchy</p><p>ID.Level</p><p>Name</p><p>2198.1.1.1.1.1.1.1 Rename Annotations The Rename Annotations schema definition is as follows.</p><p>2199 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2200 <xs:element></p><p>2201 <xs:complexType></p><p>2202 <xs:sequence></p><p>2203 <xs:element type="row" /></p><p>2204 </xs:sequence></p><p>174 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2205 </xs:complexType></p><p>2206 </xs:element></p><p>2207 <xs:complexType name="row"></p><p>2208 <xs:sequence></p><p>2209 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2210 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2211 </xs:sequence></p><p>2212 </xs:complexType></p><p>2213 </xs:schema></p><p>Element</p><p>ID</p><p>Name</p><p>2213.1.1.1.1.1.1.1 Rename Cultures The Rename Cultures schema definition is as follows.</p><p>2214 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2215 <xs:element></p><p>2216 <xs:complexType></p><p>2217 <xs:sequence></p><p>2218 <xs:element type="row" /></p><p>2219 </xs:sequence></p><p>2220 </xs:complexType></p><p>2221 </xs:element></p><p>2222 <xs:complexType name="row"></p><p>2223 <xs:sequence></p><p>2224 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2225 <xs:element name="ID.Culture" type="xs:string" sql:field="ID.Culture" minOccurs="0" /></p><p>2226 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2227 </xs:sequence></p><p>175 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2228 </xs:complexType></p><p>2229 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Culture</p><p>Name</p><p>2229.1.1.1.1.1.1.1 Rename Perspectives The Rename Perspectives schema definition is as follows.</p><p>2230 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2231 <xs:element></p><p>2232 <xs:complexType></p><p>2233 <xs:sequence></p><p>2234 <xs:element type="row" /></p><p>2235 </xs:sequence></p><p>2236 </xs:complexType></p><p>2237 </xs:element></p><p>2238 <xs:complexType name="row"></p><p>2239 <xs:sequence></p><p>2240 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2241 <xs:element name="ID.Perspective" type="xs:string" sql:field="ID.Perspective" minOccurs="0" /></p><p>2242 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2243 </xs:sequence></p><p>2244 </xs:complexType></p><p>2245 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Perspective</p><p>Name</p><p>176 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2245.1.1.1.1.1.1.1 Rename Roles The Rename Roles schema definition is as follows.</p><p>2246 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2247 <xs:element></p><p>2248 <xs:complexType></p><p>2249 <xs:sequence></p><p>2250 <xs:element type="row" /></p><p>2251 </xs:sequence></p><p>2252 </xs:complexType></p><p>2253 </xs:element></p><p>2254 <xs:complexType name="row"></p><p>2255 <xs:sequence></p><p>2256 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2257 <xs:element name="ID.Role" type="xs:string" sql:field="ID.Role" minOccurs="0" /></p><p>2258 <xs:element name="Name" type="xs:string" sql:field="Name" minOccurs="0" /></p><p>2259 </xs:sequence></p><p>2260 </xs:complexType></p><p>2261 </xs:schema></p><p>Element</p><p>ID</p><p>ID.Role</p><p>Name</p><p>2261.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). If the ReturnAffectedObjects XMLA property is set to 0, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2). If the ReturnAffectedObjects XMLA property is set to 1, the response is an object of type AffectedObjects. The structure of the AffectedObjects element is defined in section 2.2.3.1.</p><p>2261.1.1.1.1.2 Refresh Tabular Metadata</p><p>177 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The schema definition for the Refresh command is as follows.</p><p>2262 <xs:complexType name="TabularRefreshCommandType"></p><p>2263 <xs:sequence></p><p>2264 <xs:element name="MaxParallelism" type="xs:int" minOccurs="0" maxOccurs="1" /></p><p>2265 <xs:element name="DatabaseID" type="xs:string" /></p><p>2266 <xs:element name="PushedData" type="xs:string" minOccurs="0" maxOccurs="1" /></p><p>2267 <xs:element name="EndOfData" type="xs:string" minOccurs="0" maxOccurs="1" /></p><p>2268 <xs:sequence minOccurs="1" maxOccurs="unbounded"></p><p>2269 <xs:choice minOccurs="1" maxOccurs="1"></p><p>2270 <xs:element name="Model" type="xmla-rs:rowset" /></p><p>2271 <xs:element name="Tables" type="xmla-rs:rowset" /></p><p>2272 <xs:element name="Partitions" type="xmla-rs:rowset" /></p><p>2273 </xs:choice></p><p>2274 </xs:sequence></p><p>2275 <xs:element name="Bindings" type="mstns:TabularBindingsType" /></p><p>2276 </xs:sequence></p><p>2277 </xs:complexType></p><p>The Refresh Tabular Metadata command is used to refresh objects in a Tabular database that has the compatibility level set to 1200. The command requires a DatabaseID child element that identifies the database in which the Tabular metadata objects are to be refreshed, followed by a set of rowsets that define the objects that are to be refreshed.</p><p>2277.1.1.1.1.1.1 Request The allowed object types are defined in the TabularCommandType object in section 3.1.5.2.1, and the schema of the rowsets for these object types is described in sections 3.1.5.2.1.5.1.1 through 3.1.5.2.1.5.1.5. Refreshing objects performs some basic validation. For example, references to parent objects, such as the table to which a Column object belongs, are validated during execution of the Refresh Tabular Metadata API. Other validations, such as syntax and semantic validation of DAX expressions, can be deferred until a later operation. The object being refreshed is identified with a path based on the names of the parent objects (see section 3.1.5.2.1). The following table describes the elements of the TabularRefreshCommandType complex type.</p><p>178 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element Type Description</p><p>MaxParallelism Integer Optional. This value indicates the desired maximum parallelism for the refresh operation.</p><p>DatabaseID String The identifier of the database that is being refreshed</p><p>PushedData String Optional. The name of an XMLA parameter that contains a rowset to be pushed into a partition in the data model.</p><p>EndOfData String Optional. The name of an XMLA parameter that specifies whether a pushed rowset is the last rowset to be pushed into the partition.</p><p>2277.1.1.1.1.1.1.1 Refresh Model The schema definition for the Model element in TabularRefreshCommandType is as follows.</p><p>2278 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2279 <xs:element></p><p>2280 <xs:complexType></p><p>2281 <xs:sequence></p><p>2282 <xs:element type="row" /></p><p>2283 </xs:sequence></p><p>2284 </xs:complexType></p><p>2285 </xs:element></p><p>2286 <xs:complexType name="row"></p><p>2287 <xs:sequence></p><p>2288 <xs:element name="RefreshType" type="xs:long" sql:field="RefreshType" minOccurs="0" /></p><p>2289 </xs:sequence></p><p>2290 </xs:complexType></p><p>2291 </xs:schema></p><p>Default Element value Description</p><p>RefreshType "Full" Specifies whether to refresh the data and recalculate or clear all dependents. The possible values are as follows. § Full (1) - For a regular partition, refresh data and recalculate all dependents. For a calculation partition, recalculate the partition and all its dependents. § ClearValues (2) - Clear values in this object and all its dependents. § Calculate (3) - Recalculate this object and all its </p><p>179 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Default Element value Description dependents, but only if needed. This value does not force recalculation, except for volatile formulas. § DataOnly (4) – Refresh data in this object and clear all dependents. § Automatic (5) - If the object needs to be refreshed and recalculated, refresh and recalculate the object and all its dependents. Applies if the partition is in a state other than Ready (see section 2.2.5.6).</p><p>2291.1.1.1.1.1.1.1 Refresh Tables The schema definition for the Tables element in TabularRefreshCommandType is as follows.</p><p>2292 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2293 <xs:element></p><p>2294 <xs:complexType></p><p>2295 <xs:sequence></p><p>2296 <xs:element type="row" /></p><p>2297 </xs:sequence></p><p>2298 </xs:complexType></p><p>2299 </xs:element></p><p>2300 <xs:complexType name="row"></p><p>2301 <xs:sequence></p><p>2302 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2303 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2304 <xs:element name="RefreshType" type="xs:long" sql:field="RefreshType" minOccurs="0" /></p><p>2305 </xs:sequence></p><p>2306 </xs:complexType></p><p>2307 </xs:schema></p><p>Default Element value Description</p><p>ID An ID-based reference to a Table object.</p><p>180 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Default Element value Description</p><p>ID.Table A name-based path to the Table object specified by ID.</p><p>RefreshType "Full" Specifies whether to refresh the data and recalculate or clear all dependents. The possible values are as follows. § Full (1) - For a regular partition, refresh data and recalculate all dependents. For a calculation partition, recalculate the partition and all its dependents. § ClearValues (2) - Clear values in this object and all its dependents. § Calculate (3) - Recalculate this object and all its dependents, but only if needed. This value does not force recalculation, except for volatile formulas. § DataOnly (4) – Refresh data in this object and clear all dependents. § Automatic (5) - If the object needs to be refreshed and recalculated, refresh and recalculate the object and all its dependents. Applies if the partition is in a state other than Ready (see section 2.2.5.6).</p><p>2307.1.1.1.1.1.1.1 Refresh Partitions The schema definition for the Partitions element in TabularRefreshCommandType is as follows.</p><p>2308 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2309 <xs:element></p><p>2310 <xs:complexType></p><p>2311 <xs:sequence></p><p>2312 <xs:element type="row" /></p><p>2313 </xs:sequence></p><p>2314 </xs:complexType></p><p>2315 </xs:element></p><p>2316 <xs:complexType name="row"></p><p>2317 <xs:sequence></p><p>2318 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2319 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2320 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0" /></p><p>181 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2321 <xs:element name="RefreshType" type="xs:long" sql:field="RefreshType" minOccurs="0" /></p><p>2322 </xs:sequence></p><p>2323 </xs:complexType></p><p>2324 </xs:schema></p><p>Default Element value Description</p><p>ID An ID-based reference to a Partition object.</p><p>ID.Table The Table part of the name-based path to the Partition object specified by ID.</p><p>ID.Partition The Partition part of the name-based path to the Partition object specified by ID.</p><p>RefreshType "Full" Specifies whether to refresh the data and recalculate or clear all dependents. The possible values are as follows. § Full (1) - For a regular partition, refresh data and recalculate all dependents. For a calculation partition, recalculate the partition and all its dependents. § ClearValues (2) - Clear values in this object and all its dependents. § Calculate (3) - Recalculate this object and all its dependents, but only if needed. This value does not force recalculation, except for volatile formulas. § DataOnly (4) – Refresh data in this object and clear all dependents. § Automatic (5) - If the object needs to be refreshed and recalculated, refresh and recalculate the object and all its dependents. Applies if the partition is in a state other than Ready (see section 2.2.5.6). § Add (6) - Append data to this partition and recalculate all dependents. This command is valid only for regular partitions and not for calculation partitions.</p><p>2324.1.1.1.1.1.1.1 Out of Line Bindings While issuing a Refresh Tabular Metadata command, users can use the Bindings element inside the TabularRefreshCommandType to change the properties of certain objects for the scope of the Refresh request. The properties that can be changed include DataSources, Partitions, and Columns. The schema definition for the Bindings element is as follows.</p><p>2325 <xs:complexType name="TabularBindingsType"></p><p>2326 <xs:sequence minOccurs="0" maxOccurs="unbounded"></p><p>2327 <xs:element name="Binding" type="mstns:TabularBindingType"/></p><p>182 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2328 </xs:sequence></p><p>2329 </xs:complexType></p><p>Each Binding element will provide the values to override for the changed objects while refreshing the specific partition mentioned in the Binding element. The schema definition for the Binding element is as follows.</p><p>2330 <xs:complexType name="TabularBindingType"></p><p>2331 <xs:sequence></p><p>2332 <xs:element name="ObjectID" type="xs:unsignedLong" minOccurs="0" /></p><p>2333 <xs:element name="TableName" type="xs:string" minOccurs="0" /></p><p>2334 <xs:element name="PartitionName" type="xs:string" minOccurs="0" /></p><p>2335 <xs:element name="DataSources" type="xmla-rs:rowset" /></p><p>2336 <xs:element name="Columns" type="xmla-rs:rowset" /></p><p>2337 <xs:element name="Partitions" type="xmla-rs:rowset" /></p><p>2338 </xs:sequence></p><p>2339 </xs:complexType></p><p>The Binding element contains the following fields. Default Element value Description</p><p>ObjectID An ID-based reference to the Partition object for which the out-of-line bindings are to be applied before refreshing the partition.</p><p>TableName The Table part of the name-based path to the Partition object for which the out- of-line bindings are to be applied before refreshing the partition.</p><p>PartitionName The Partition part of the name-based path to the Partition object for which the out-of-line bindings are to be applied before refreshing the partition.</p><p>The schema definitions for the remaining elements of the TabularBindingType are as follows. DataSources: For possible values of the elements defined in this schema, see section 2.2.5.2.</p><p>2340 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2341 <xs:element></p><p>2342 <xs:complexType></p><p>2343 <xs:sequence minOccurs="0" maxOccurs="unbounded"></p><p>183 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2344 <xs:element type="row" /></p><p>2345 </xs:sequence></p><p>2346 </xs:complexType></p><p>2347 </xs:element></p><p>2348 <xs:complexType name="row"></p><p>2349 <xs:sequence></p><p>2350 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2351 <xs:element name="ID.DataSource" type="xs:string" sql:field="ID.DataSource" minOccurs="0" /></p><p>2352 <xs:element name="ConnectionString" type="xs:string" sql:field="ConnectionString" minOccurs="0" /></p><p>2353 <xs:element name="ImpersonationMode" type="xs:long" sql:field="ImpersonationMode" minOccurs="0" /></p><p>2354 <xs:element name="Account" type="xs:string" sql:field="Account" minOccurs="0" /></p><p>2355 <xs:element name="Password" type="xs:string" sql:field="Password" minOccurs="0" /></p><p>2356 <xs:element name="MaxConnections" type="xs:int" sql:field="MaxConnections" minOccurs="0" /></p><p>2357 <xs:element name="Isolation" type="xs:long" sql:field="Isolation" minOccurs="0" /></p><p>2358 <xs:element name="Timeout" type="xs:int" sql:field="Timeout" minOccurs="0" /></p><p>2359 <xs:element name="Provider" type="xs:string" sql:field="Provider" minOccurs="0" /></p><p>2360 </xs:sequence></p><p>2361 </xs:complexType></p><p>2362 </xs:schema></p><p>Partitions: For possible values of the elements defined in this schema, see section 2.2.5.6.</p><p>2363 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2364 <xs:element></p><p>2365 <xs:complexType></p><p>2366 <xs:sequence minOccurs="0" maxOccurs="unbounded"></p><p>2367 <xs:element type="row" /></p><p>184 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2368 </xs:sequence></p><p>2369 </xs:complexType></p><p>2370 </xs:element></p><p>2371 <xs:complexType name="row"></p><p>2372 <xs:sequence></p><p>2373 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2374 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2375 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0" /></p><p>2376 <xs:element name="DataSourceID" type="xs:unsignedLong" sql:field="DataSourceID" minOccurs="0" /></p><p>2377 <xs:element name="DataSourceID.DataSource" type="xs:string" sql:field="DataSourceID.DataSource" minOccurs="0" /></p><p>2378 <xs:element name="QueryDefinition" type="xs:string" sql:field="QueryDefinition" minOccurs="0" /></p><p>2379 <xs:element name="Type" type="xs:long" sql:field="Type" minOccurs="0" /></p><p>2380 </xs:sequence></p><p>2381 </xs:complexType></p><p>2382 </xs:schema></p><p>Columns: For possible values of the elements defined in this schema, see section 2.2.5.4.</p><p>2383 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>2384 <xs:element></p><p>2385 <xs:complexType></p><p>2386 <xs:sequence minOccurs="0" maxOccurs="unbounded"></p><p>2387 <xs:element type="row" /></p><p>2388 </xs:sequence></p><p>2389 </xs:complexType></p><p>2390 </xs:element></p><p>2391 <xs:complexType name="row"></p><p>2392 <xs:sequence></p><p>185 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2393 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>2394 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>2395 <xs:element name="ID.Column" type="xs:string" sql:field="ID.Column" minOccurs="0" /></p><p>2396 <xs:element name="SourceColumn" type="xs:string" sql:field="SourceColumn" minOccurs="0" /></p><p>2397 </xs:sequence></p><p>2398 </xs:complexType></p><p>2399 </xs:sequence></p><p>See section 4.1 for an example of the Refresh command with out-of-line bindings.</p><p>2399.1.1.1.1.1.1.1 Pushed Data As part of Tabular Refresh command, users can submit data to be pushed into a partition. This can be achieved by using the PushedData and EndOfData elements in the TabularRefreshCommandType. The data to be pushed into a partition is passed in as Parameters of the Execute request. For more information on Parameters, see [MS-SSAS] section 3.1.4.3.2.1.3. The name of the parameter that will contain the data is specified in the PushedData element of the Refresh command. The name of the parameter that can be used to signal the end of data is passed in the EndOfData element of the Refresh command. The value of the parameter with the PushedData element name is a rowset, and the value of the parameter with the EndOfData element name is a Boolean. If that Boolean is true, any further parameters passed in the request with the name of the PushedData element will not be pushed into the partition. There can be more than one parameter with the PushedData element name. These parameters will be pushed into the partition in the same order as they are sent until the parameter with the EndOfData element name is encountered. When data to be pushed into the partitions is passed in as part of the Refresh command, only one partition can be processed by using that data. If more than one partition tries to use the data, the engine will throw an error. See section 4.1 for an example of the Refresh command with pushed data and out-of-line bindings.</p><p>2399.1.1.1.1.1.2 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). If the ReturnAffectedObjects XMLA property is set to 0, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>186 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 If the ReturnAffectedObjects XMLA property is set to 1, the response is an object of type AffectedObjects. The structure of the AffectedObjects element is defined in section 2.2.3.1.</p><p>2399.1.1.1.1.2 MergePartitions Tabular Metadata The MergePartitions command merges the data of the specified source partitions into a target partition.</p><p>2399.1.1.1.1.2.1 Request The MergePartitions schema definition is as follows.</p><p>2400 <MergePartitions xmlns="http://schemas.microsoft.com/analysisservices/2014/engine"></p><p>2401 <DatabaseID></DatabaseID></p><p>2402 <PartitionID></PartitionID></p><p>2403 <TableName></TableName></p><p>2404 <PartitionName></PartitionName></p><p>2405 <Partitions></p><p>2406 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas-microsoft-com:xml-sql"></p><p>2407 <xs:element></p><p>2408 <xs:complexType></p><p>2409 <xs:sequence></p><p>2410 <xs:element type="row" /></p><p>2411 </xs:sequence></p><p>2412 </xs:complexType></p><p>2413 </xs:element></p><p>2414 <xs:complexType name="row"></p><p>2415 <xs:sequence></p><p>2416 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0"/></p><p>2417 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0"/></p><p>2418 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0"/></p><p>2419 </xs:sequence></p><p>2420 </xs:complexType></p><p>2421 </xs:schema></p><p>187 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2422 </Partitions></p><p>2423 </MergePartitions></p><p>The XML elements that are included in the MergePartitions command are described in the following table. Default Element value Description</p><p>DatabaseID A mandatory reference to the database.</p><p>PartitionID An optional reference to the target partition,</p><p>TableName The Table part of the name-based path to the target Partition object.</p><p>PartitionName The Partition part of the name-based path to the target Partition object.</p><p>Partitions The source partitions whose data will be merged into the target partition. These partitions will be deleted at the end of the command.</p><p>2423.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). If the ReturnAffectedObjects XMLA property is set to 0, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2). If the ReturnAffectedObjects XMLA property is set to 1, the response is an object of type AffectedObjects. The structure of the AffectedObjects element is defined in section 2.2.3.1.</p><p>2423.1.1.1.1.2 DBCC for Tabular Metadata The Database Consistency Check (DBCC) command is used to check consistency of objects on the server.</p><p>2423.1.1.1.1.2.1 Request The DBCC schema definition is as follows.</p><p>2424 <xsd:complexType name="DBCC"></p><p>2425 <xsd:sequence></p><p>2426 <xsd:element name="DatabaseID" type="string" /></p><p>2427 <xsd:element name="TableName" type="string" /></p><p>2428 <xsd:element name="PartitionName" type="string" /></p><p>2429 </xsd:sequence></p><p>2430 </xsd:complexType></p><p>The following table shows the XML elements included in the DBCC command.</p><p>188 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Element Default value Description</p><p>DatabaseID [Required] The ID of the database object to check for consistency.</p><p>TableName [Optional] The name of the table object to check for consistency.</p><p>PartitionName [Optional] The name of the partition object in the specified table to check for consistency. The return result type for the DBCC command is xmla-e:emptyresult (see [MS-SSAS] section 2.2.4.1.2).</p><p>2430.1.1.1.1.1.1 Response The response of a DBCC for Tabular Metadata request is an empty element.</p><p>2430.1.1.1.1.2 SequencePoint The SequencePoint command applies any pending changes in the current transaction. This process is referred to as the sequence point algorithm. The algorithm performs various actions including, but not limited to, analyzing all pending changes, applying validation rules, inferring object names, inferring data types, inferring calculated table schemas, and changing the states of the objects. The goal of this algorithm is to bring the data model into a consistent state so that it can be queried. The SequencePoint command does not commit the transaction.</p><p>2430.1.1.1.1.2.1 Request The SequencePoint command requires a DatabaseID child element that identifies the database that has pending changes. The SequencePoint schema definition is as follows.</p><p>2431 <xsd:complexType name="SequencePoint"></p><p>2432 <xsd:sequence></p><p>2433 <xsd:element name="DatabaseID" type="string" /></p><p>2434 </xsd:sequence></p><p>2435 </xsd:complexType></p><p>The following table shows the XML elements included in the SequencePoint command. Element Default value Description</p><p>DatabaseID [Required] The ID of the database object on which the sequence point algorithm is executed.</p><p>2435.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1).</p><p>2435.1.1.1.1.2 Upgrade Tabular Metadata The Upgrade command upgrades a Tabular database that has the compatibility level set below 1200 to compatibility level 1200.</p><p>189 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2435.1.1.1.1.2.1 Request The command requires a DatabaseID child element that identifies the database in which the Tabular metadata objects are to be upgraded, followed by a set of rowsets that define the properties of the objects that are to be altered. The allowed object types are defined in the TabularCommandType object (see section 3.1.5.2.1), and the schema of the rowsets for these object types is documented in section 3.1.5.2.1.1. The Upgrade operation performs validations to ensure that the objects and properties of the model that is being upgraded properly match the objects in the original database.</p><p>2435.1.1.1.1.2.2 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1).</p><p>2435.1.1.1.2 JSON-Based Tabular Metadata Commands As described in section 3.1.5.2, a Tabular database can be administered by using two types of APIs, namely XMLA [XMLA] and JSON [RFC4627]. Sections 3.1.5.2.1 through 3.1.5.2.1.7.2 describe the XMLA-based APIs, and this section through section 3.1.5.2.2.13 describe the syntax of those APIs by using the JSON syntax [JSON-SchemaVal]. The JSON APIs are accepted as textual content under the Statement XMLA element as documented in [MS-SSAS]. Although there is significant overlap between the XMLA and JSON APIs, there are some commands that are unique to each one. Common guidelines that apply to the objects and properties for the JSON APIs include the following. § JSON APIs use camel-casing for all object names and property names. § JSON APIs always use name-based object references. The XMLA APIs support integer IDs, but JSON APIs are intended for end users and therefore use the more user-friendly name-based style. § JSON APIs use textual enumeration values instead of integer enumeration values. As above, this is because the JSON APIs are targeted at end users and text-based enumerations are more user-friendly. § The JSON APIs are naturally hierarchical. For example, creation of a Table defines the Columns as child nodes in the document structure. Unless specified otherwise, each JSON command is performed with the following transactional semantics. § If a transaction is already in progress, the command will execute but will commit when the application commits the transaction. § If a transaction is not in progress, the command will execute and automatically commit.</p><p>2435.1.1.1.2.1 Object Definitions in JSON Commands The create, createOrReplace, and alter JSON commands accept new object definitions for the objects that are being created, replaced, or altered, </p><p>190 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 respectively. Sections 3.1.5.2.2.1.1 through 3.1.5.2.2.1.22 document the structure and schema of these objects in JSON [JSON-SchemaVal].</p><p>2435.1.1.1.2.1.1 Database The JSON schema for the database object is as follows.</p><p>2436 "database": {</p><p>2437 "description": "Database object of Tabular Object Model (TOM)",</p><p>2438 "type": "object",</p><p>2439 "properties": {</p><p>2440 "name": {</p><p>2441 "type": "string"</p><p>2442 },</p><p>2443 "id": {</p><p>2444 "type": "string"</p><p>2445 },</p><p>2446 "description": {</p><p>2447 "anyOf": [</p><p>2448 {</p><p>2449 "type": "string"</p><p>2450 },</p><p>2451 {</p><p>2452 "type": "array",</p><p>2453 "items": {</p><p>2454 "type": "string"</p><p>2455 }</p><p>2456 }</p><p>2457 ]</p><p>2458 },</p><p>2459 "compatibilityLevel": {</p><p>2460 "type": "integer"</p><p>2461 },</p><p>2462 "readWriteMode": {</p><p>191 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2463 "enum": [</p><p>2464 "readWrite",</p><p>2465 "readOnly",</p><p>2466 "readOnlyExclusive"</p><p>2467 ]</p><p>2468 },</p><p>2469 "model": {</p><p>2470 "type": "object",</p><p>2471 ...</p><p>2472 }</p><p>2473 }</p><p>2474 }</p><p>The properties correspond to the properties of the Database object that is defined in [MS-SSAS]. In addition, this object can contain a child object named model which is of type Model (see section 3.1.5.2.2.1.2).</p><p>2474.1.1.1.1.1.1 Model The JSON schema for the model object is as follows.</p><p>2475 "model": {</p><p>2476 "description": "Model object of Tabular Object Model (TOM)",</p><p>2477 "type": "object",</p><p>2478 "properties": {</p><p>2479 "name": {</p><p>2480 "type": "string"</p><p>2481 },</p><p>2482 "description": {</p><p>2483 "anyOf": [</p><p>2484 {</p><p>2485 "type": "string"</p><p>2486 },</p><p>192 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2487 {</p><p>2488 "type": "array",</p><p>2489 "items": {</p><p>2490 "type": "string"</p><p>2491 }</p><p>2492 }</p><p>2493 ]</p><p>2494 },</p><p>2495 "storageLocation": {</p><p>2496 "type": "string"</p><p>2497 },</p><p>2498 "defaultMode": {</p><p>2499 "enum": [</p><p>2500 "import",</p><p>2501 "directQuery",</p><p>2502 "default"</p><p>2503 ]</p><p>2504 },</p><p>2505 "defaultDataView": {</p><p>2506 "enum": [</p><p>2507 "full",</p><p>2508 "sample",</p><p>2509 "default"</p><p>2510 ]</p><p>2511 },</p><p>2512 "culture": {</p><p>2513 "type": "string"</p><p>2514 },</p><p>2515 "collation": {</p><p>193 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2516 "type": "string"</p><p>2517 },</p><p>2518 "annotations": ": {</p><p>2519 "type": "array",</p><p>2520 "items": {</p><p>2521 ...</p><p>2522 }</p><p>2523 },</p><p>2524 "tables": {</p><p>2525 "type": "array",</p><p>2526 "items": {</p><p>2527 ...</p><p>2528 }</p><p>2529 },</p><p>2530 "relationships": {</p><p>2531 "type": "array",</p><p>2532 "items": {</p><p>2533 ...</p><p>2534 }</p><p>2535 },</p><p>2536 "dataSources": {</p><p>2537 "type": "array",</p><p>2538 "items": {</p><p>2539 ...</p><p>2540 }</p><p>2541 },</p><p>2542 "perspectives": {</p><p>2543 "type": "array",</p><p>2544 "items": {</p><p>194 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2545 ...</p><p>2546 }</p><p>2547 },</p><p>2548 "cultures": {</p><p>2549 "type": "array",</p><p>2550 "items": {</p><p>2551 ...</p><p>2552 }</p><p>2553 },</p><p>2554 "roles": {</p><p>2555 "type": "array",</p><p>2556 "items": {</p><p>2557 ...</p><p>2558 }</p><p>2559 }</p><p>2560 }</p><p>}</p><p>The properties correspond to the Model object that is defined in section 2.2.5.1. In addition, the object can include collections of child objects for Annotations, Tables, Relationships, DataSources, Perspectives, Cultures, and Roles.</p><p>2560.1.1.1.1.1.1 DataSource The JSON schema for the dataSource object is as follows.</p><p>2561 "dataSource": {</p><p>2562 "description": "ProviderDataSource object of Tabular Object Model (TOM)",</p><p>2563 "type": "object",</p><p>2564 "properties": {</p><p>2565 "name": {</p><p>2566 "type": "string"</p><p>2567 },</p><p>195 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2568 "description": {</p><p>2569 "type": "string"</p><p>2570 },</p><p>2571 "type": {</p><p>2572 "enum": [</p><p>2573 "provider"</p><p>2574 ]</p><p>2575 },</p><p>2576 "connectionString": {</p><p>2577 "type": "string"</p><p>2578 },</p><p>2579 "impersonationMode": {</p><p>2580 "enum": [</p><p>2581 "default",</p><p>2582 "impersonateAccount",</p><p>2583 "impersonateAnonymous",</p><p>2584 "impersonateCurrentUser",</p><p>2585 "impersonateServiceAccount",</p><p>2586 "impersonateUnattendedAccount"</p><p>2587 ]</p><p>2588 },</p><p>2589 "account": {</p><p>2590 "type": "string"</p><p>2591 },</p><p>2592 "password": {</p><p>2593 "type": "string"</p><p>2594 },</p><p>2595 "maxConnections": {</p><p>2596 "type": "integer"</p><p>196 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2597 },</p><p>2598 "isolation": {</p><p>2599 "enum": [</p><p>2600 "readCommitted",</p><p>2601 "snapshot"</p><p>2602 ]</p><p>2603 },</p><p>2604 "timeout": {</p><p>2605 "type": "integer"</p><p>2606 },</p><p>2607 "provider": {</p><p>2608 "type": "string"</p><p>2609 },</p><p>2610 "annotations": {</p><p>2611 "type": "array",</p><p>2612 "items": {</p><p>2613 ...</p><p>2614 }</p><p>2615 }</p><p>2616 },</p><p>2617 "additionalProperties": false</p><p>2618 }</p><p>The properties correspond to the DataSource object that is defined in section 2.2.5.2. In addition, the object can include a collection of child objects for Annotations.</p><p>2618.1.1.1.1.1.1 Table The JSON schema for the table object is as follows.</p><p>2619 "table": {</p><p>2620 "description": "Table object of Tabular Object Model (TOM)",</p><p>2621 "type": "object",</p><p>197 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2622 "properties": {</p><p>2623 "name": {</p><p>2624 "type": "string"</p><p>2625 },</p><p>2626 "dataCategory": {</p><p>2627 "type": "string"</p><p>2628 },</p><p>2629 "description": {</p><p>2630 "anyOf": [</p><p>2631 {</p><p>2632 "type": "string"</p><p>2633 },</p><p>2634 {</p><p>2635 "type": "array",</p><p>2636 "items": {</p><p>2637 "type": "string"</p><p>2638 }</p><p>2639 }</p><p>2640 ]</p><p>2641 },</p><p>2642 "isHidden": {</p><p>2643 "type": "boolean"</p><p>2644 },</p><p>2645 "partitions": {</p><p>2646 "type": "array",</p><p>2647 "items": {</p><p>2648 ...</p><p>2649 }</p><p>2650 },</p><p>198 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2651 "annotations": {</p><p>2652 "type": "array",</p><p>2653 "items": {</p><p>2654 ...</p><p>2655 }</p><p>2656 },</p><p>2657 "columns": {</p><p>2658 "type": "array",</p><p>2659 "items": {</p><p>2660 ...</p><p>2661 }</p><p>2662 },</p><p>2663 "measures": {</p><p>2664 "type": "array",</p><p>2665 "items": {</p><p>2666 ...</p><p>2667 }</p><p>2668 },</p><p>2669 "hierarchies": {</p><p>2670 "type": "array",</p><p>2671 "items": {</p><p>2672 ...</p><p>2673 }</p><p>2674 }</p><p>2675 },</p><p>2676 "additionalProperties": false</p><p>2677 }</p><p>The properties correspond to the Table object that is defined in section 2.2.5.3. In addition, the object can include collections of child objects for Partitions, Annotations, Columns, Measures, and Hierarchies.</p><p>199 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2677.1.1.1.1.1.1 Column The JSON schema for the column object is as follows.</p><p>2678 "anyOf": [</p><p>2679 {</p><p>2680 "description": "DataColumn object of Tabular Object Model (TOM)",</p><p>2681 "type": "object",</p><p>2682 "properties": {</p><p>2683 "name": {</p><p>2684 "type": "string"</p><p>2685 },</p><p>2686 "dataType": {</p><p>2687 "enum": [</p><p>2688 "automatic",</p><p>2689 "string",</p><p>2690 "int64",</p><p>2691 "double",</p><p>2692 "dateTime",</p><p>2693 "decimal",</p><p>2694 "boolean",</p><p>2695 "binary",</p><p>2696 "unknown",</p><p>2697 "variant"</p><p>2698 ]</p><p>2699 },</p><p>2700 "dataCategory": {</p><p>2701 "type": "string"</p><p>2702 },</p><p>2703 "description": {</p><p>2704 "type": "string"</p><p>2705 },</p><p>200 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2706 "isHidden": {</p><p>2707 "type": "boolean"</p><p>2708 },</p><p>2709 "isUnique": {</p><p>2710 "type": "boolean"</p><p>2711 },</p><p>2712 "isKey": {</p><p>2713 "type": "boolean"</p><p>2714 },</p><p>2715 "isNullable": {</p><p>2716 "type": "boolean"</p><p>2717 },</p><p>2718 "alignment": {</p><p>2719 "enum": [</p><p>2720 "default",</p><p>2721 "left",</p><p>2722 "right",</p><p>2723 "center"</p><p>2724 ]</p><p>2725 },</p><p>2726 "tableDetailPosition": {</p><p>2727 "type": "integer"</p><p>2728 },</p><p>2729 "isDefaultLabel": {</p><p>2730 "type": "boolean"</p><p>2731 },</p><p>2732 "isDefaultImage": {</p><p>2733 "type": "boolean"</p><p>2734 },</p><p>201 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2735 "summarizeBy": {</p><p>2736 "enum": [</p><p>2737 "default",</p><p>2738 "none",</p><p>2739 "sum",</p><p>2740 "min",</p><p>2741 "max",</p><p>2742 "count",</p><p>2743 "average",</p><p>2744 "distinctCount"</p><p>2745 ]</p><p>2746 },</p><p>2747 "type": {</p><p>2748 "enum": [</p><p>2749 "data",</p><p>2750 "calculated",</p><p>2751 "rowNumber",</p><p>2752 "calculatedTableColumn"</p><p>2753 ]</p><p>2754 },</p><p>2755 "formatString": {</p><p>2756 "type": "string"</p><p>2757 },</p><p>2758 "isAvailableInMdx": {</p><p>2759 "type": "boolean"</p><p>2760 },</p><p>2761 "keepUniqueRows": {</p><p>2762 "type": "boolean"</p><p>2763 },</p><p>202 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2764 "displayOrdinal": {</p><p>2765 "type": "integer"</p><p>2766 },</p><p>2767 "sourceProviderType": {</p><p>2768 "type": "string"</p><p>2769 },</p><p>2770 "displayFolder": {</p><p>2771 "type": "string"</p><p>2772 },</p><p>2773 "sourceColumn": {</p><p>2774 "type": "string"</p><p>2775 },</p><p>2776 "sortByColumn": {</p><p>2777 "type": "string"</p><p>2778 },</p><p>2779 "annotations": {</p><p>2780 "type": "array",</p><p>2781 "items": {</p><p>2782 ...</p><p>2783 }</p><p>2784 }</p><p>2785 },</p><p>2786 "additionalProperties": false</p><p>2787 },</p><p>2788 {</p><p>2789 "description": "CalculatedTableColumn object of Tabular Object Model (TOM)",</p><p>2790 "type": "object",</p><p>2791 "properties": {</p><p>2792 "name": {</p><p>203 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2793 "type": "string"</p><p>2794 },</p><p>2795 "dataType": {</p><p>2796 "enum": [</p><p>2797 "automatic",</p><p>2798 "string",</p><p>2799 "int64",</p><p>2800 "double",</p><p>2801 "dateTime",</p><p>2802 "decimal",</p><p>2803 "boolean",</p><p>2804 "binary",</p><p>2805 "unknown",</p><p>2806 "variant"</p><p>2807 ]</p><p>2808 },</p><p>2809 "dataCategory": {</p><p>2810 "type": "string"</p><p>2811 },</p><p>2812 "description": {</p><p>2813 "type": "string"</p><p>2814 },</p><p>2815 "isHidden": {</p><p>2816 "type": "boolean"</p><p>2817 },</p><p>2818 "isUnique": {</p><p>2819 "type": "boolean"</p><p>2820 },</p><p>2821 "isKey": {</p><p>204 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2822 "type": "boolean"</p><p>2823 },</p><p>2824 "isNullable": {</p><p>2825 "type": "boolean"</p><p>2826 },</p><p>2827 "alignment": {</p><p>2828 "enum": [</p><p>2829 "default",</p><p>2830 "left",</p><p>2831 "right",</p><p>2832 "center"</p><p>2833 ]</p><p>2834 },</p><p>2835 "tableDetailPosition": {</p><p>2836 "type": "integer"</p><p>2837 },</p><p>2838 "isDefaultLabel": {</p><p>2839 "type": "boolean"</p><p>2840 },</p><p>2841 "isDefaultImage": {</p><p>2842 "type": "boolean"</p><p>2843 },</p><p>2844 "summarizeBy": {</p><p>2845 "enum": [</p><p>2846 "default",</p><p>2847 "none",</p><p>2848 "sum",</p><p>2849 "min",</p><p>2850 "max",</p><p>205 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2851 "count",</p><p>2852 "average",</p><p>2853 "distinctCount"</p><p>2854 ]</p><p>2855 },</p><p>2856 "type": {</p><p>2857 "enum": [</p><p>2858 "data",</p><p>2859 "calculated",</p><p>2860 "rowNumber",</p><p>2861 "calculatedTableColumn"</p><p>2862 ]</p><p>2863 },</p><p>2864 "formatString": {</p><p>2865 "type": "string"</p><p>2866 },</p><p>2867 "isAvailableInMdx": {</p><p>2868 "type": "boolean"</p><p>2869 },</p><p>2870 "keepUniqueRows": {</p><p>2871 "type": "boolean"</p><p>2872 },</p><p>2873 "displayOrdinal": {</p><p>2874 "type": "integer"</p><p>2875 },</p><p>2876 "sourceProviderType": {</p><p>2877 "type": "string"</p><p>2878 },</p><p>2879 "displayFolder": {</p><p>206 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2880 "type": "string"</p><p>2881 },</p><p>2882 "isNameInferred": {</p><p>2883 "type": "boolean"</p><p>2884 },</p><p>2885 "isDataTypeInferred": {</p><p>2886 "type": "boolean"</p><p>2887 },</p><p>2888 "sourceColumn": {</p><p>2889 "type": "string"</p><p>2890 },</p><p>2891 "sortByColumn": {</p><p>2892 "type": "string"</p><p>2893 },</p><p>2894 "columnOriginTable": {</p><p>2895 "type": "string"</p><p>2896 },</p><p>2897 "columnOriginColumn": {</p><p>2898 "type": "string"</p><p>2899 },</p><p>2900 "annotations": {</p><p>2901 "type": "array",</p><p>2902 "items": {</p><p>2903 ...</p><p>2904 }</p><p>2905 }</p><p>2906 },</p><p>2907 "additionalProperties": false</p><p>2908 },</p><p>207 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2909 {</p><p>2910 "description": "CalculatedColumn object of Tabular Object Model (TOM)",</p><p>2911 "type": "object",</p><p>2912 "properties": {</p><p>2913 "name": {</p><p>2914 "type": "string"</p><p>2915 },</p><p>2916 "dataType": {</p><p>2917 "enum": [</p><p>2918 "automatic",</p><p>2919 "string",</p><p>2920 "int64",</p><p>2921 "double",</p><p>2922 "dateTime",</p><p>2923 "decimal",</p><p>2924 "boolean",</p><p>2925 "binary",</p><p>2926 "unknown",</p><p>2927 "variant"</p><p>2928 ]</p><p>2929 },</p><p>2930 "dataCategory": {</p><p>2931 "type": "string"</p><p>2932 },</p><p>2933 "description": {</p><p>2934 "type": "string"</p><p>2935 },</p><p>2936 "isHidden": {</p><p>2937 "type": "boolean"</p><p>208 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2938 },</p><p>2939 "isUnique": {</p><p>2940 "type": "boolean"</p><p>2941 },</p><p>2942 "isKey": {</p><p>2943 "type": "boolean"</p><p>2944 },</p><p>2945 "isNullable": {</p><p>2946 "type": "boolean"</p><p>2947 },</p><p>2948 "alignment": {</p><p>2949 "enum": [</p><p>2950 "default",</p><p>2951 "left",</p><p>2952 "right",</p><p>2953 "center"</p><p>2954 ]</p><p>2955 },</p><p>2956 "tableDetailPosition": {</p><p>2957 "type": "integer"</p><p>2958 },</p><p>2959 "isDefaultLabel": {</p><p>2960 "type": "boolean"</p><p>2961 },</p><p>2962 "isDefaultImage": {</p><p>2963 "type": "boolean"</p><p>2964 },</p><p>2965 "summarizeBy": {</p><p>2966 "enum": [</p><p>209 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2967 "default",</p><p>2968 "none",</p><p>2969 "sum",</p><p>2970 "min",</p><p>2971 "max",</p><p>2972 "count",</p><p>2973 "average",</p><p>2974 "distinctCount"</p><p>2975 ]</p><p>2976 },</p><p>2977 "type": {</p><p>2978 "enum": [</p><p>2979 "data",</p><p>2980 "calculated",</p><p>2981 "rowNumber",</p><p>2982 "calculatedTableColumn"</p><p>2983 ]</p><p>2984 },</p><p>2985 "formatString": {</p><p>2986 "type": "string"</p><p>2987 },</p><p>2988 "isAvailableInMdx": {</p><p>2989 "type": "boolean"</p><p>2990 },</p><p>2991 "keepUniqueRows": {</p><p>2992 "type": "boolean"</p><p>2993 },</p><p>2994 "displayOrdinal": {</p><p>2995 "type": "integer"</p><p>210 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 2996 },</p><p>2997 "sourceProviderType": {</p><p>2998 "type": "string"</p><p>2999 },</p><p>3000 "displayFolder": {</p><p>3001 "type": "string"</p><p>3002 },</p><p>3003 "isDataTypeInferred": {</p><p>3004 "type": "boolean"</p><p>3005 },</p><p>3006 "expression": {</p><p>3007 "type": "string"</p><p>3008 },</p><p>3009 "sortByColumn": {</p><p>3010 "type": "string"</p><p>3011 },</p><p>3012 "annotations": {</p><p>3013 "type": "array",</p><p>3014 "items": {</p><p>3015 ...</p><p>3016 }</p><p>3017 }</p><p>3018 },</p><p>3019 "additionalProperties": false</p><p>3020 }</p><p>3021 ]</p><p>The column object in JSON supports derived classes. The following derived types are supported. § data: Data obtained from a column in the data source § calculated: A column whose values are computed from a calculation expression</p><p>211 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 § rowNumber: An internally defined column that automatically generates a unique number for each row in the table § calculatedTableColumn: A column whose values are computed from the result of a calculated table Each of these derived types has the base properties, and a few extra properties that can apply. The extra properties are documented in the following tables. For the data derived type: Property Description sourceProviderType SourceProviderType, described in section 2.2.5.4. sourceColumn SourceColumn, described in section 2.2.5.4. For the calculated derived type: Property Description isDataTypeInferred A Boolean that indicates whether the data type is inferred or explicit. True if the data type is inferred from the expression; false if the data type is explicitly set. expression Expression, described in section 2.2.5.4. The rowNumber derived type has no additional properties. For the calculatedTableColumn derived type: Property Description sourceProviderType SourceProviderType, described in section 2.2.5.4. isNameInferred A Boolean that indicates whether the name of the column is inferred or explicit. True if the name is inferred from the calculated table; false if the name is explicitly specified. isDataTypeInferred A Boolean that indicates whether the data type is inferred or explicit. True if the data type is inferred from the calculated table expression; false if the data type is explicitly set. sourceColumn The name of the column in the calculated table expression that this column represents. columnOriginTable If the calculated table expression returns a column whose lineage can be determined, this property indicates the table from which the values are computed. columnOriginColumn If the calculated table expression returns a column whose lineage can be determined, this property indicates the column from which the values are computed.</p><p>3021.1.1.1.1.1.1 Partition The JSON schema for the partition object is as follows.</p><p>3022 "partition": {</p><p>3023 "description": "Partition object of Tabular Object Model (TOM)",</p><p>3024 "type": "object",</p><p>212 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3025 "properties": {</p><p>3026 "name": {</p><p>3027 "type": "string"</p><p>3028 },</p><p>3029 "description": {</p><p>3030 "anyOf": [</p><p>3031 {</p><p>3032 "type": "string"</p><p>3033 },</p><p>3034 {</p><p>3035 "type": "array",</p><p>3036 "items": {</p><p>3037 "type": "string"</p><p>3038 }</p><p>3039 }</p><p>3040 ]</p><p>3041 },</p><p>3042 "mode": {</p><p>3043 "enum": [</p><p>3044 "import",</p><p>3045 "directQuery",</p><p>3046 "default"</p><p>3047 ]</p><p>3048 },</p><p>3049 "dataView": {</p><p>3050 "enum": [</p><p>3051 "full",</p><p>3052 "sample",</p><p>3053 "default"</p><p>213 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3054 ]</p><p>3055 },</p><p>3056 "source": {</p><p>3057 "anyOf": [</p><p>3058 {</p><p>3059 "description": "QueryPartitionSource object of Tabular Object Model (TOM)",</p><p>3060 "type": "object",</p><p>3061 "properties": {</p><p>3062 "type": {</p><p>3063 "enum": [</p><p>3064 "query",</p><p>3065 "calculated",</p><p>3066 "none"</p><p>3067 ]</p><p>3068 },</p><p>3069 "query": {</p><p>3070 "anyOf": [</p><p>3071 {</p><p>3072 "type": "string"</p><p>3073 },</p><p>3074 {</p><p>3075 "type": "array",</p><p>3076 "items": {</p><p>3077 "type": "string"</p><p>3078 }</p><p>3079 }</p><p>3080 ]</p><p>3081 },</p><p>3082 "dataSource": {</p><p>214 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3083 "type": "string"</p><p>3084 }</p><p>3085 },</p><p>3086 "additionalProperties": false</p><p>3087 },</p><p>3088 {</p><p>3089 "description": "CalculatedPartitionSource object of Tabular Object Model (TOM)",</p><p>3090 "type": "object",</p><p>3091 "properties": {</p><p>3092 "type": {</p><p>3093 "enum": [</p><p>3094 "query",</p><p>3095 "calculated",</p><p>3096 "none"</p><p>3097 ]</p><p>3098 },</p><p>3099 "expression": {</p><p>3100 "anyOf": [</p><p>3101 {</p><p>3102 "type": "string"</p><p>3103 },</p><p>3104 {</p><p>3105 "type": "array",</p><p>3106 "items": {</p><p>3107 "type": "string"</p><p>3108 }</p><p>3109 }</p><p>3110 ]</p><p>3111 }</p><p>215 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3112 },</p><p>3113 "additionalProperties": false</p><p>3114 }</p><p>3115 ]</p><p>3116 },</p><p>3117 "annotations": {</p><p>3118 "type": "array",</p><p>3119 "items": {</p><p>3120 ...</p><p>3121 }</p><p>3122 }</p><p>3123 },</p><p>3124 "additionalProperties": false</p><p>3125 }</p><p>The Partition data type is expressed slightly differently compared with the common data structures described in section 2.2.5. As described in section 2.2.5.6, all the properties of the Partition data type are flattened into the Partition object. However, the JSON representation has a child Source object that can be of type query or calculated or none. The Source object of type query has a dataSource reference and a query property. The query property corresponds to the QueryDefinition property that is defined in section 2.2.5.6. The Source object of type calculated has an expression property, which also corresponds to the QueryDefinition property that is defined in section 2.2.5.6. If no Source is provided, the partition implicitly has a Source of type none.</p><p>3125.1.1.1.1.1.1 Measure The JSON schema for the measure object is as follows.</p><p>3126 "measure": {</p><p>3127 "description": "Measure object of Tabular Object Model (TOM)",</p><p>3128 "type": "object",</p><p>3129 "properties": {</p><p>3130 "name": {</p><p>216 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3131 "type": "string"</p><p>3132 },</p><p>3133 "description": {</p><p>3134 "anyOf": [</p><p>3135 {</p><p>3136 "type": "string"</p><p>3137 },</p><p>3138 {</p><p>3139 "type": "array",</p><p>3140 "items": {</p><p>3141 "type": "string"</p><p>3142 }</p><p>3143 }</p><p>3144 ]</p><p>3145 },</p><p>3146 "expression": {</p><p>3147 "anyOf": [</p><p>3148 {</p><p>3149 "type": "string"</p><p>3150 },</p><p>3151 {</p><p>3152 "type": "array",</p><p>3153 "items": {</p><p>3154 "type": "string"</p><p>3155 }</p><p>3156 }</p><p>3157 ]</p><p>3158 },</p><p>3159 "formatString": {</p><p>217 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3160 "type": "string"</p><p>3161 },</p><p>3162 "isHidden": {</p><p>3163 "type": "boolean"</p><p>3164 },</p><p>3165 "isSimpleMeasure": {</p><p>3166 "type": "boolean"</p><p>3167 },</p><p>3168 "displayFolder": {</p><p>3169 "type": "string"</p><p>3170 },</p><p>3171 "kpi": {</p><p>3172 ...</p><p>3173 },</p><p>3174 "annotations": {</p><p>3175 "type": "array",</p><p>3176 "items": {</p><p>3177 ...</p><p>3178 }</p><p>3179 }</p><p>3180 },</p><p>3181 "additionalProperties": false</p><p>3182 }</p><p>3183</p><p>The properties correspond to the Measure object that is defined in section 2.2.5.8. In addition, the JSON-based measure object has an optional child kpi object.</p><p>3183.1.1.1.1.1.1 Hierarchy The JSON schema for the hierarchy object is as follows.</p><p>3184 "hierarchies": {</p><p>218 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3185 "type": "array",</p><p>3186 "items": {</p><p>3187 "description": "Hierarchy object of Tabular Object Model (TOM)",</p><p>3188 "type": "object",</p><p>3189 "properties": {</p><p>3190 "name": {</p><p>3191 "type": "string"</p><p>3192 },</p><p>3193 "description": {</p><p>3194 "anyOf": [</p><p>3195 {</p><p>3196 "type": "string"</p><p>3197 },</p><p>3198 {</p><p>3199 "type": "array",</p><p>3200 "items": {</p><p>3201 "type": "string"</p><p>3202 }</p><p>3203 }</p><p>3204 ]</p><p>3205 },</p><p>3206 "isHidden": {</p><p>3207 "type": "boolean"</p><p>3208 },</p><p>3209 "displayFolder": {</p><p>3210 "type": "string"</p><p>3211 },</p><p>3212 "annotations": {</p><p>3213 "type": "array",</p><p>219 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3214 "items": {</p><p>3215 ...</p><p>3216 }</p><p>3217 },</p><p>3218 "levels": {</p><p>3219 "type": "array",</p><p>3220 "items": {</p><p>3221 ...</p><p>3222 }</p><p>3223 }</p><p>3224 },</p><p>3225 "additionalProperties": false</p><p>3226 }</p><p>3227 }</p><p>The properties correspond to the Hierarchy object that is defined in section 2.2.5.9. In addition, the JSON-based hierarchy object can have a collection of level objects.</p><p>3227.1.1.1.1.1.1 Level The JSON schema for the level object is as follows.</p><p>3228 "level": {</p><p>3229 "description": "Level object of Tabular Object Model (TOM)",</p><p>3230 "type": "object",</p><p>3231 "properties": {</p><p>3232 "ordinal": {</p><p>3233 "type": "integer"</p><p>3234 },</p><p>3235 "name": {</p><p>3236 "type": "string"</p><p>3237 },</p><p>3238 "description": {</p><p>220 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3239 "anyOf": [</p><p>3240 {</p><p>3241 "type": "string"</p><p>3242 },</p><p>3243 {</p><p>3244 "type": "array",</p><p>3245 "items": {</p><p>3246 "type": "string"</p><p>3247 }</p><p>3248 }</p><p>3249 ]</p><p>3250 },</p><p>3251 "column": {</p><p>3252 "type": "string"</p><p>3253 },</p><p>3254 "annotations": {</p><p>3255 "type": "array",</p><p>3256 "items": {</p><p>3257 ...</p><p>3258 }</p><p>3259 }</p><p>3260 },</p><p>3261 "additionalProperties": false</p><p>}</p><p>The properties correspond to the Level object that is defined in section 2.2.5.10.</p><p>3261.1.1.1.1.1.1 Annotation The JSON schema for the annotation object is as follows.</p><p>3262 "annotation": {</p><p>3263 "description": "Annotation object of Tabular Object Model (TOM)",</p><p>221 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3264 "type": "object",</p><p>3265 "properties": {</p><p>3266 "name": {</p><p>3267 "type": "string"</p><p>3268 },</p><p>3269 "value": {</p><p>3270 "anyOf": [</p><p>3271 {</p><p>3272 "type": "string"</p><p>3273 },</p><p>3274 {</p><p>3275 "type": "array",</p><p>3276 "items": {</p><p>3277 "type": "string"</p><p>3278 }</p><p>3279 }</p><p>3280 ]</p><p>3281 }</p><p>3282 }</p><p>The properties correspond to the Annotation object that is defined in section 2.2.5.11.</p><p>3282.1.1.1.1.1.1 KPI The JSON schema for the kpi object is as follows.</p><p>3283 "kpi": {</p><p>3284 "description": "KPI object of Tabular Object Model (TOM)",</p><p>3285 "type": "object",</p><p>3286 "properties": {</p><p>3287 "description": {</p><p>3288 "anyOf": [</p><p>3289 {</p><p>222 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3290 "type": "string"</p><p>3291 },</p><p>3292 {</p><p>3293 "type": "array",</p><p>3294 "items": {</p><p>3295 "type": "string"</p><p>3296 }</p><p>3297 }</p><p>3298 ]</p><p>3299 },</p><p>3300 "targetDescription": {</p><p>3301 "anyOf": [</p><p>3302 {</p><p>3303 "type": "string"</p><p>3304 },</p><p>3305 {</p><p>3306 "type": "array",</p><p>3307 "items": {</p><p>3308 "type": "string"</p><p>3309 }</p><p>3310 }</p><p>3311 ]</p><p>3312 },</p><p>3313 "targetExpression": {</p><p>3314 "anyOf": [</p><p>3315 {</p><p>3316 "type": "string"</p><p>3317 },</p><p>3318 {</p><p>223 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3319 "type": "array",</p><p>3320 "items": {</p><p>3321 "type": "string"</p><p>3322 }</p><p>3323 }</p><p>3324 ]</p><p>3325 },</p><p>3326 "targetFormatString": {</p><p>3327 "type": "string"</p><p>3328 },</p><p>3329 "statusGraphic": {</p><p>3330 "type": "string"</p><p>3331 },</p><p>3332 "statusDescription": {</p><p>3333 "anyOf": [</p><p>3334 {</p><p>3335 "type": "string"</p><p>3336 },</p><p>3337 {</p><p>3338 "type": "array",</p><p>3339 "items": {</p><p>3340 "type": "string"</p><p>3341 }</p><p>3342 }</p><p>3343 ]</p><p>3344 },</p><p>3345 "statusExpression": {</p><p>3346 "anyOf": [</p><p>3347 {</p><p>224 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3348 "type": "string"</p><p>3349 },</p><p>3350 {</p><p>3351 "type": "array",</p><p>3352 "items": {</p><p>3353 "type": "string"</p><p>3354 }</p><p>3355 }</p><p>3356 ]</p><p>3357 },</p><p>3358 "trendGraphic": {</p><p>3359 "type": "string"</p><p>3360 },</p><p>3361 "trendDescription": {</p><p>3362 "anyOf": [</p><p>3363 {</p><p>3364 "type": "string"</p><p>3365 },</p><p>3366 {</p><p>3367 "type": "array",</p><p>3368 "items": {</p><p>3369 "type": "string"</p><p>3370 }</p><p>3371 }</p><p>3372 ]</p><p>3373 },</p><p>3374 "trendExpression": {</p><p>3375 "anyOf": [</p><p>3376 {</p><p>225 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3377 "type": "string"</p><p>3378 },</p><p>3379 {</p><p>3380 "type": "array",</p><p>3381 "items": {</p><p>3382 "type": "string"</p><p>3383 }</p><p>3384 }</p><p>3385 ]</p><p>3386 },</p><p>3387 "annotations": {</p><p>3388 "type": "array",</p><p>3389 "items": {</p><p>3390 ...</p><p>3391 }</p><p>3392 }</p><p>3393 },</p><p>3394 "additionalProperties": false</p><p>},</p><p>The properties correspond to the KPI object that is defined in section 2.2.5.12.</p><p>3394.1.1.1.1.1.1 Culture The JSON schema for the culture object is as follows.</p><p>3395 "culture": {</p><p>3396 "description": "Culture object of Tabular Object Model (TOM)",</p><p>3397 "type": "object",</p><p>3398 "properties": {</p><p>3399 "name": {</p><p>3400 "type": "string"</p><p>},</p><p>226 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 "linguisticMetadata": {</p><p>"description": "LinguisticMetadata object of Tabular Object Model (TOM)",</p><p>"type": "object",</p><p>"properties": {</p><p>...</p><p>},</p><p>"additionalProperties": false</p><p>},</p><p>"translations": {</p><p>3401 "type": "object",</p><p>3402 "properties": {</p><p>3403 ...</p><p>3404 },</p><p>3405 "additionalProperties": false</p><p>3406 },</p><p>3407 "annotations": {</p><p>3408 "type": "array",</p><p>3409 "items": {</p><p>3410 ...</p><p>3411 }</p><p>3412 }</p><p>3413 },</p><p>3414 "additionalProperties": false</p><p>3415 }</p><p>The properties correspond to the Culture object that is defined in section 2.2.5.13. In addition, the JSON-based culture object can have two child objects, linguisticMetadata object and the translations object. The JSON-based linguisticMetadata object corresponds to the LinguisticMetadata object that is defined in section 2.2.5.15.</p><p>227 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The translations object has a structure that is different than the ObjectTranslation object that is defined in section 2.2.5.14. For more details, see section 3.1.5.2.2.1.13.</p><p>3415.1.1.1.1.1.1 Translations The JSON schema for the translations object is as follows.</p><p>3416 "translations": {</p><p>3417 "type": "object",</p><p>3418 "properties": {</p><p>3419 "model": {</p><p>3420 "type": "object",</p><p>3421 "properties": {</p><p>3422 "name": {</p><p>3423 "type": "string"</p><p>3424 },</p><p>3425 "translatedCaption": {</p><p>3426 "type": "string"</p><p>3427 },</p><p>3428 "translatedDescription": {</p><p>3429 "anyOf": [</p><p>3430 {</p><p>3431 "type": "string"</p><p>3432 },</p><p>3433 {</p><p>3434 "type": "array",</p><p>3435 "items": {</p><p>3436 "type": "string"</p><p>3437 }</p><p>3438 }</p><p>3439 ]</p><p>3440 },</p><p>3441 "tables": {</p><p>228 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3442 "type": "array",</p><p>3443 "items": {</p><p>3444 "type": "object",</p><p>3445 "properties": {</p><p>3446 "name": {</p><p>3447 "type": "string"</p><p>3448 },</p><p>3449 "translatedCaption": {</p><p>3450 "type": "string"</p><p>3451 },</p><p>3452 "translatedDescription": {</p><p>3453 "anyOf": [</p><p>3454 {</p><p>3455 "type": "string"</p><p>3456 },</p><p>3457 {</p><p>3458 "type": "array",</p><p>3459 "items": {</p><p>3460 "type": "string"</p><p>3461 }</p><p>3462 }</p><p>3463 ]</p><p>3464 },</p><p>3465 "columns": {</p><p>3466 "type": "array",</p><p>3467 "items": {</p><p>3468 "type": "object",</p><p>3469 "properties": {</p><p>3470 "name": {</p><p>229 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3471 "type": "string"</p><p>3472 },</p><p>3473 "translatedCaption": {</p><p>3474 "type": "string"</p><p>3475 },</p><p>3476 "translatedDescription": {</p><p>3477 "anyOf": [</p><p>3478 {</p><p>3479 "type": "string"</p><p>3480 },</p><p>3481 {</p><p>3482 "type": "array",</p><p>3483 "items": {</p><p>3484 "type": "string"</p><p>3485 }</p><p>3486 }</p><p>3487 ]</p><p>3488 },</p><p>3489 "translatedDisplayFolder": {</p><p>3490 "type": "string"</p><p>3491 }</p><p>3492 },</p><p>3493 "additionalProperties": false</p><p>3494 }</p><p>3495 },</p><p>3496 "measures": {</p><p>3497 "type": "array",</p><p>3498 "items": {</p><p>3499 "type": "object",</p><p>230 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3500 "properties": {</p><p>3501 "name": {</p><p>3502 "type": "string"</p><p>3503 },</p><p>3504 "translatedCaption": {</p><p>3505 "type": "string"</p><p>3506 },</p><p>3507 "translatedDescription": {</p><p>3508 "anyOf": [</p><p>3509 {</p><p>3510 "type": "string"</p><p>3511 },</p><p>3512 {</p><p>3513 "type": "array",</p><p>3514 "items": {</p><p>3515 "type": "string"</p><p>3516 }</p><p>3517 }</p><p>3518 ]</p><p>3519 },</p><p>3520 "translatedDisplayFolder": {</p><p>3521 "type": "string"</p><p>3522 },</p><p>3523 "kpi": {</p><p>3524 "type": "object",</p><p>3525 "properties": {</p><p>3526 "translatedDescription": {</p><p>3527 "anyOf": [</p><p>3528 {</p><p>231 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3529 "type": "string"</p><p>3530 },</p><p>3531 {</p><p>3532 "type": "array",</p><p>3533 "items": {</p><p>3534 "type": "string"</p><p>3535 }</p><p>3536 }</p><p>3537 ]</p><p>3538 }</p><p>3539 },</p><p>3540 "additionalProperties": false</p><p>3541 }</p><p>3542 },</p><p>3543 "additionalProperties": false</p><p>3544 }</p><p>3545 },</p><p>3546 "hierarchies": {</p><p>3547 "type": "array",</p><p>3548 "items": {</p><p>3549 "type": "object",</p><p>3550 "properties": {</p><p>3551 "name": {</p><p>3552 "type": "string"</p><p>3553 },</p><p>3554 "translatedCaption": {</p><p>3555 "type": "string"</p><p>3556 },</p><p>3557 "translatedDescription": {</p><p>232 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3558 "anyOf": [</p><p>3559 {</p><p>3560 "type": "string"</p><p>3561 },</p><p>3562 {</p><p>3563 "type": "array",</p><p>3564 "items": {</p><p>3565 "type": "string"</p><p>3566 }</p><p>3567 }</p><p>3568 ]</p><p>3569 },</p><p>3570 "translatedDisplayFolder": {</p><p>3571 "type": "string"</p><p>3572 },</p><p>3573 "levels": {</p><p>3574 "type": "array",</p><p>3575 "items": {</p><p>3576 "type": "object",</p><p>3577 "properties": {</p><p>3578 "name": {</p><p>3579 "type": "string"</p><p>3580 },</p><p>3581 "translatedCaption": {</p><p>3582 "type": "string"</p><p>3583 },</p><p>3584 "translatedDescription": {</p><p>3585 "anyOf": [</p><p>3586 {</p><p>233 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3587 "type": "string"</p><p>3588 },</p><p>3589 {</p><p>3590 "type": "array",</p><p>3591 "items": {</p><p>3592 "type": "string"</p><p>3593 }</p><p>3594 }</p><p>3595 ]</p><p>3596 }</p><p>3597 },</p><p>3598 "additionalProperties": false</p><p>3599 }</p><p>3600 }</p><p>3601 },</p><p>3602 "additionalProperties": false</p><p>3603 }</p><p>3604 }</p><p>3605 },</p><p>3606 "additionalProperties": false</p><p>3607 }</p><p>3608 },</p><p>3609 "perspectives": {</p><p>3610 "type": "array",</p><p>3611 "items": {</p><p>3612 "type": "object",</p><p>3613 "properties": {</p><p>3614 "name": {</p><p>3615 "type": "string"</p><p>234 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3616 },</p><p>3617 "translatedCaption": {</p><p>3618 "type": "string"</p><p>3619 },</p><p>3620 "translatedDescription": {</p><p>3621 "anyOf": [</p><p>3622 {</p><p>3623 "type": "string"</p><p>3624 },</p><p>3625 {</p><p>3626 "type": "array",</p><p>3627 "items": {</p><p>3628 "type": "string"</p><p>3629 }</p><p>3630 }</p><p>3631 ]</p><p>3632 }</p><p>3633 },</p><p>3634 "additionalProperties": false</p><p>3635 }</p><p>3636 },</p><p>3637 "roles": {</p><p>3638 "type": "array",</p><p>3639 "items": {</p><p>3640 "type": "object",</p><p>3641 "properties": {</p><p>3642 "name": {</p><p>3643 "type": "string"</p><p>3644 },</p><p>235 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3645 "translatedDescription": {</p><p>3646 "anyOf": [</p><p>3647 {</p><p>3648 "type": "string"</p><p>3649 },</p><p>3650 {</p><p>3651 "type": "array",</p><p>3652 "items": {</p><p>3653 "type": "string"</p><p>3654 }</p><p>3655 }</p><p>3656 ]</p><p>3657 }</p><p>3658 },</p><p>3659 "additionalProperties": false</p><p>3660 }</p><p>3661 }</p><p>3662 },</p><p>3663 "additionalProperties": false</p><p>3664 }</p><p>3665 },</p><p>3666 "additionalProperties": false</p><p>3667 },</p><p>The underlying Microsoft SQL Server Analysis Services engine APIs express the translations of object properties by using flattened data structures. See the ObjectTranslation object that is defined in section 2.2.5.14. However, the JSON representation of these translations is based on derived classes. As the above schema indicates, the hierarchical structure of the JSON document is used to identify each object. For example, the column object appears as a child of the table object. Every object that can be translated or that has descendant objects that can be translated has its own object type, and the specific properties on that object that can be translated have their own member types. For example, role </p><p>236 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 objects only allow translation of their description and are therefore defined as an object with the following two properties. § name: Defines the name of the Role object that is being translated § translatedDescription: Defines the translation of the description of the Role object The three types of properties that can be translated are defined as follows. Property JSON Property Name</p><p>Name translatedCaption</p><p>Description translatedDescription</p><p>DisplayFolder translatedDisplayFolder</p><p>3667.1.1.1.1.1.1 LinguisticMetadata The JSON schema for the linguisticMetadata object is as follows.</p><p>3668 "linguisticMetadata": {</p><p>3669 "description": "LinguisticMetadata object of Tabular Object Model (TOM)",</p><p>3670 "type": "object",</p><p>3671 "properties": {</p><p>3672 "content": {</p><p>3673 "anyOf": [</p><p>3674 {</p><p>3675 "type": "string"</p><p>3676 },</p><p>3677 {</p><p>3678 "type": "array",</p><p>3679 "items": {</p><p>3680 "type": "string"</p><p>3681 }</p><p>3682 }</p><p>3683 ]</p><p>3684 },</p><p>3685 "annotations": {</p><p>3686 "type": "array",</p><p>3687 "items": {</p><p>237 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3688 ...</p><p>3689 }</p><p>3690 }</p><p>3691 },</p><p>3692 "additionalProperties": false</p><p>3693 },</p><p>The properties correspond to the LinguisticMetadata object that is defined in section 2.2.5.15.</p><p>3693.1.1.1.1.1.1 Perspective The JSON schema for the perspective object is as follows.</p><p>3694 "perspectives": {</p><p>3695 "description": "Perspective object of Tabular Object Model (TOM)",</p><p>3696 "type": "object",</p><p>3697 "properties": {</p><p>3698 "name": {</p><p>3699 "type": "string"</p><p>3700 },</p><p>3701 "description": {</p><p>3702 "anyOf": [</p><p>3703 {</p><p>3704 "type": "string"</p><p>3705 },</p><p>3706 {</p><p>3707 "type": "array",</p><p>3708 "items": {</p><p>3709 "type": "string"</p><p>3710 }</p><p>3711 }</p><p>3712 ]</p><p>3713 },</p><p>238 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3714 "annotations": {</p><p>3715 "type": "array",</p><p>3716 "items": {</p><p>3717 ...</p><p>3718 }</p><p>3719 },</p><p>3720 "tables": {</p><p>3721 "type": "array",</p><p>3722 "items": {</p><p>3723 ...</p><p>3724 }</p><p>3725 }</p><p>3726 },</p><p>3727 "additionalProperties": false</p><p>3728 }</p><p>The properties correspond to the Perspective object that is defined in section 2.2.5.16. The perspective object can have a collection of perspectiveTable objects.</p><p>3728.1.1.1.1.1.1 PerspectiveTable The JSON schema for the perspectiveTable object is as follows.</p><p>3729 "tables": {</p><p>3730 "type": "array",</p><p>3731 "items": {</p><p>3732 "description": "PerspectiveTable object of Tabular Object Model (TOM)",</p><p>3733 "type": "object",</p><p>3734 "properties": {</p><p>3735 "name": {</p><p>3736 "type": "string"</p><p>3737 },</p><p>3738 "includeAll": {</p><p>239 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3739 "type": "boolean"</p><p>3740 },</p><p>3741 "annotations": {</p><p>3742 "type": "array",</p><p>3743 "items": {</p><p>3744 ...</p><p>3745 }</p><p>3746 },</p><p>3747 "columns": {</p><p>3748 "type": "array",</p><p>3749 "items": {</p><p>3750 ...</p><p>3751 }</p><p>3752 },</p><p>3753 "measures": {</p><p>3754 "type": "array",</p><p>3755 "items": {</p><p>3756 ...</p><p>3757 }</p><p>3758 },</p><p>3759 "hierarchies": {</p><p>3760 "type": "array",</p><p>3761 "items": {</p><p>3762 ...</p><p>3763 }</p><p>3764 }</p><p>3765 },</p><p>3766 "additionalProperties": false</p><p>3767 }</p><p>3768 }</p><p>240 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The properties correspond to the PerspectiveTable object that is defined in section 2.2.11.17. The perspectiveTable object can have collections of perspectiveColumn, perspectiveHierarchy, and perspectiveMeasure objects, which are defined in sections 3.1.5.2.2.1.17, 3.1.5.2.2.1.18, and 3.1.5.2.2.1.19, respectively.</p><p>3768.1.1.1.1.1.1 PerspectiveColumn The JSON schema for the perspectiveColumn object is as follows.</p><p>3769 "columns": {</p><p>3770 "type": "array",</p><p>3771 "items": {</p><p>3772 "description": "PerspectiveColumn object of Tabular Object Model (TOM)",</p><p>3773 "type": "object",</p><p>3774 "properties": {</p><p>3775 "name": {</p><p>3776 "type": "string"</p><p>3777 },</p><p>3778 "annotations": {</p><p>3779 "type": "array",</p><p>3780 "items": {</p><p>3781 ...</p><p>3782 }</p><p>3783 }</p><p>3784 },</p><p>3785 "additionalProperties": false</p><p>3786 }</p><p>3787 },</p><p>The properties correspond to the PerspectiveColumn object that is defined in section 2.2.5.18.</p><p>3787.1.1.1.1.1.1 PerspectiveHierarchy The JSON schema for the perspectiveHierarchy object is as follows.</p><p>3788 "hierarchies": {</p><p>3789 "type": "array",</p><p>241 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3790 "items": {</p><p>3791 "description": "PerspectiveHierarchy object of Tabular Object Model (TOM)",</p><p>3792 "type": "object",</p><p>3793 "properties": {</p><p>3794 "name": {</p><p>3795 "type": "string"</p><p>3796 },</p><p>3797 "annotations": {</p><p>3798 "type": "array",</p><p>3799 "items": {</p><p>3800 ...</p><p>3801 }</p><p>3802 }</p><p>3803 },</p><p>3804 "additionalProperties": false</p><p>3805 }</p><p>3806 }</p><p>The properties correspond to the PerspectiveHierarchy object that is defined in section 2.2.5.19.</p><p>3806.1.1.1.1.1.1 PerspectiveMeasure The JSON schema for the perspectiveMeasure object is as follows.</p><p>3807 "measures": {</p><p>3808 "type": "array",</p><p>3809 "items": {</p><p>3810 "description": "PerspectiveMeasure object of Tabular Object Model (TOM)",</p><p>3811 "type": "object",</p><p>3812 "properties": {</p><p>3813 "name": {</p><p>3814 "type": "string"</p><p>3815 },</p><p>242 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3816 "annotations": {</p><p>3817 "type": "array",</p><p>3818 "items": {</p><p>3819 ...</p><p>3820 }</p><p>3821 }</p><p>3822 },</p><p>3823 "additionalProperties": false</p><p>3824 }</p><p>3825 },</p><p>The properties correspond to the PerspectiveMeasure object that is defined in section 2.2.5.20.</p><p>3825.1.1.1.1.1.1 Role The JSON schema for the role object is as follows.</p><p>3826 "role": {</p><p>3827 "description": "ModelRole object of Tabular Object Model (TOM)",</p><p>3828 "type": "object",</p><p>3829 "properties": {</p><p>3830 "name": {</p><p>3831 "type": "string"</p><p>3832 },</p><p>3833 "description": {</p><p>3834 "anyOf": [</p><p>3835 {</p><p>3836 "type": "string"</p><p>3837 },</p><p>3838 {</p><p>3839 "type": "array",</p><p>3840 "items": {</p><p>3841 "type": "string"</p><p>243 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3842 }</p><p>3843 }</p><p>3844 ]</p><p>3845 },</p><p>3846 "modelPermission": {</p><p>3847 "enum": [</p><p>3848 "none",</p><p>3849 "read",</p><p>3850 "readRefresh",</p><p>3851 "refresh",</p><p>3852 "administrator"</p><p>3853 ]</p><p>3854 },</p><p>3855 "annotations": {</p><p>3856 "type": "array",</p><p>3857 "items": {</p><p>3858 ...</p><p>3859 }</p><p>3860 },</p><p>3861 "members": {</p><p>3862 "type": "array",</p><p>3863 "items": {</p><p>3864 ...</p><p>3865 }</p><p>3866 },</p><p>3867 "tablePermissions": {</p><p>3868 "type": "array",</p><p>3869 "items": {</p><p>3870 ...</p><p>244 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3871 }</p><p>3872 }</p><p>3873 },</p><p>3874 "additionalProperties": false</p><p>3875 }</p><p>The properties correspond to the Role object that is defined in section 2.2.5.21. The role object has two child collections. The members child collection is of type RoleMembership, and the tablePermissions child collection is of type TablePermissions.</p><p>3875.1.1.1.1.1.1 RoleMembership The JSON schema for the member object is as follows.</p><p>3876 "anyOf": [</p><p>3877 {</p><p>3878 "description": "WindowsModelRoleMember object of Tabular Object Model (TOM)",</p><p>3879 "type": "object",</p><p>3880 "properties": {</p><p>3881 "memberName": {</p><p>3882 "type": "string"</p><p>3883 },</p><p>3884 "memberId": {</p><p>3885 "type": "string"</p><p>3886 },</p><p>3887 "annotations": {</p><p>3888 "type": "array",</p><p>3889 "items": {</p><p>3890 ...</p><p>3891 }</p><p>3892 }</p><p>3893 },</p><p>3894 "additionalProperties": false</p><p>245 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3895 },</p><p>3896 {</p><p>3897 "description": "ExternalModelRoleMember object of Tabular Object Model (TOM)",</p><p>3898 "type": "object",</p><p>3899 "properties": {</p><p>3900 "memberName": {</p><p>3901 "type": "string"</p><p>3902 },</p><p>3903 "memberId": {</p><p>3904 "type": "string"</p><p>3905 },</p><p>3906 "identityProvider": {</p><p>3907 "type": "string"</p><p>3908 },</p><p>3909 "memberType": {</p><p>3910 "enum": [</p><p>3911 "auto",</p><p>3912 "user",</p><p>3913 "group"</p><p>3914 ]</p><p>3915 },</p><p>3916 "annotations": {</p><p>3917 "type": "array",</p><p>3918 "items": {</p><p>3919 ...</p><p>3920 }</p><p>3921 }</p><p>3922 },</p><p>3923 "additionalProperties": false</p><p>246 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3924 }</p><p>3925 ]</p><p>The properties correspond to the RoleMembership object that is defined in section 2.2.5.22. The JSON representation of a RoleMembership object has the following two derived classes. § Windows § External The difference between the two derived types is that the External member object has an identityProvider property. If that property is present, then the memberType property can also be present.</p><p>3925.1.1.1.1.1.1 TablePermission The JSON schema for the tablePermission object is as follows.</p><p>3926 "tablePermissions": {</p><p>3927 "description": "TablePermission object of Tabular Object Model (TOM)",</p><p>3928 "type": "object",</p><p>3929 "properties": {</p><p>3930 "name": {</p><p>3931 "type": "string"</p><p>3932 },</p><p>3933 "filterExpression": {</p><p>3934 "anyOf": [</p><p>3935 {</p><p>3936 "type": "string"</p><p>3937 },</p><p>3938 {</p><p>3939 "type": "array",</p><p>3940 "items": {</p><p>3941 "type": "string"</p><p>3942 }</p><p>3943 }</p><p>3944 ]</p><p>247 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3945 },</p><p>3946 "annotations": {</p><p>3947 "type": "array",</p><p>3948 "items": {</p><p>3949 ...</p><p>3950 }</p><p>3951 }</p><p>3952 },</p><p>3953 "additionalProperties": false</p><p>3954 }</p><p>The properties correspond to the TablePermission object that is defined in section 2.2.5.23. The name property refers to the name of the Table object on which the permission applies.</p><p>3954.1.1.1.1.1 Create Command The JSON create command creates the specified object and all the descendant objects that are specified. If the object already exists, the command raises an error.</p><p>3954.1.1.1.1.1.1 Request The JSON schema for the create command is as follows.</p><p>3955 {</p><p>3956 "type": "object",</p><p>3957 "description": "Create command of Analysis Services JSON API",</p><p>3958 "properties": {</p><p>3959 "create": {</p><p>3960 "description": "Parameters of Create command of Analysis Services JSON API",</p><p>3961 "anyOf": [</p><p>3962 {</p><p>3963 "description": "Create command for Database object",</p><p>3964 "type": "object",</p><p>3965 "properties": {</p><p>3966 "database": {</p><p>248 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3967 ...</p><p>3968 }</p><p>3969 },</p><p>3970 "additionalProperties": false</p><p>3971 },</p><p>3972 {</p><p>3973 "description": "Create command for DataSource object",</p><p>3974 "type": "object",</p><p>3975 "properties": {</p><p>3976 "parentObject": {</p><p>3977 "description": "Path for object Database",</p><p>3978 "type": "object",</p><p>3979 "properties": {</p><p>3980 "database": {</p><p>3981 "type": "string"</p><p>3982 }</p><p>3983 },</p><p>3984 "additionalProperties": false</p><p>3985 },</p><p>3986 "dataSource": {</p><p>3987 ...</p><p>3988 }</p><p>3989 },</p><p>3990 "additionalProperties": false</p><p>3991 },</p><p>3992 {</p><p>3993 "description": "Create command for Table object",</p><p>3994 "type": "object",</p><p>3995 "properties": {</p><p>249 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 3996 "parentObject": {</p><p>3997 "description": "Path for object Database",</p><p>3998 "type": "object",</p><p>3999 "properties": {</p><p>4000 "database": {</p><p>4001 "type": "string"</p><p>4002 }</p><p>4003 },</p><p>4004 "additionalProperties": false</p><p>4005 },</p><p>4006 "table": {</p><p>4007 ...</p><p>4008 },</p><p>4009 "additionalProperties": false</p><p>4010 }</p><p>4011 },</p><p>4012 {</p><p>4013 "description": "Create command for Partition object",</p><p>4014 "type": "object",</p><p>4015 "properties": {</p><p>4016 "parentObject": {</p><p>4017 "description": "Path for object Table",</p><p>4018 "type": "object",</p><p>4019 "properties": {</p><p>4020 "database": {</p><p>4021 "type": "string"</p><p>4022 },</p><p>4023 "table": {</p><p>4024 "type": "string"</p><p>250 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4025 }</p><p>4026 },</p><p>4027 "additionalProperties": false</p><p>4028 },</p><p>4029 "partition": {</p><p>4030 ...</p><p>4031 }</p><p>4032 },</p><p>4033 "additionalProperties": false</p><p>4034 },</p><p>4035 {</p><p>4036 "description": "Create command for Role object",</p><p>4037 "type": "object",</p><p>4038 "properties": {</p><p>4039 "parentObject": {</p><p>4040 "description": "Path for object Database",</p><p>4041 "type": "object",</p><p>4042 "properties": {</p><p>4043 "database": {</p><p>4044 "type": "string"</p><p>4045 }</p><p>4046 },</p><p>4047 "additionalProperties": false</p><p>4048 },</p><p>4049 "role": {</p><p>4050 ...</p><p>4051 }</p><p>4052 },</p><p>4053 "additionalProperties": false</p><p>251 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4054 }</p><p>4055 ]</p><p>4056 }</p><p>4057 },</p><p>4058 "additionalProperties": false</p><p>4059 },</p><p>This schema indicates that the following objects can be created. § Database § DataSource § Table § Partition § Role Except for the Database object, the object being created is defined to be a child of a specified parentObject. The parent of the Database object is always the Server object, as described in [MS-SSAS].</p><p>4059.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4059.1.1.1.1.2 CreateOrReplace Command The JSON createOrReplace command creates the specified object and all the descendant objects that are specified. If the object already exists, the command replaces the object with the new definition.</p><p>4059.1.1.1.1.2.1 Request The JSON schema for the createOrReplace command is as follows.</p><p>4060 {</p><p>4061 "type": "object",</p><p>4062 "description": "CreateOrReplace command of Analysis Services JSON API",</p><p>4063 "properties": {</p><p>4064 "createOrReplace": {</p><p>4065 "description": "Parameters of CreateOrReplace command of Analysis Services JSON API",</p><p>4066 "anyOf": [</p><p>4067 {</p><p>252 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4068 "description": "CreateOrReplace command for Database object",</p><p>4069 "type": "object",</p><p>4070 "properties": {</p><p>4071 "object": {</p><p>4072 "description": "Path for object Database",</p><p>4073 "type": "object",</p><p>4074 "properties": {</p><p>4075 "database": {</p><p>4076 "type": "string"</p><p>4077 }</p><p>4078 },</p><p>4079 "additionalProperties": false</p><p>4080 },</p><p>4081 "database": {</p><p>4082 ...</p><p>4083 }</p><p>4084 },</p><p>4085 "additionalProperties": false</p><p>4086 },</p><p>4087 {</p><p>4088 "description": "CreateOrReplace command for DataSource object",</p><p>4089 "type": "object",</p><p>4090 "properties": {</p><p>4091 "object": {</p><p>4092 "description": "Path for object DataSource",</p><p>4093 "type": "object",</p><p>4094 "properties": {</p><p>4095 "database": {</p><p>4096 "type": "string"</p><p>253 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4097 },</p><p>4098 "dataSource": {</p><p>4099 "type": "string"</p><p>4100 }</p><p>4101 },</p><p>4102 "additionalProperties": false</p><p>4103 },</p><p>4104 "dataSource": {</p><p>4105 ...</p><p>4106 }</p><p>4107 },</p><p>4108 "additionalProperties": false</p><p>4109 },</p><p>4110 {</p><p>4111 "description": "CreateOrReplace command for Table object",</p><p>4112 "type": "object",</p><p>4113 "properties": {</p><p>4114 "object": {</p><p>4115 "description": "Path for object Table",</p><p>4116 "type": "object",</p><p>4117 "properties": {</p><p>4118 "database": {</p><p>4119 "type": "string"</p><p>4120 },</p><p>4121 "table": {</p><p>4122 "type": "string"</p><p>4123 }</p><p>4124 },</p><p>4125 "additionalProperties": false</p><p>254 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4126 },</p><p>4127 "table": {</p><p>4128 ...</p><p>4129 }</p><p>4130 },</p><p>4131 "additionalProperties": false</p><p>4132 },</p><p>4133 {</p><p>4134 "description": "CreateOrReplace command for Partition object",</p><p>4135 "type": "object",</p><p>4136 "properties": {</p><p>4137 "object": {</p><p>4138 "description": "Path for object Partition",</p><p>4139 "type": "object",</p><p>4140 "properties": {</p><p>4141 "database": {</p><p>4142 "type": "string"</p><p>4143 },</p><p>4144 "table": {</p><p>4145 "type": "string"</p><p>4146 },</p><p>4147 "partition": {</p><p>4148 "type": "string"</p><p>4149 }</p><p>4150 },</p><p>4151 "additionalProperties": false</p><p>4152 },</p><p>4153 "partition": {</p><p>4154 ...</p><p>255 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4155 }</p><p>4156 },</p><p>4157 "additionalProperties": false</p><p>4158 },</p><p>4159 {</p><p>4160 "description": "CreateOrReplace command for Role object",</p><p>4161 "type": "object",</p><p>4162 "properties": {</p><p>4163 "object": {</p><p>4164 "description": "Path for object Role",</p><p>4165 "type": "object",</p><p>4166 "properties": {</p><p>4167 "database": {</p><p>4168 "type": "string"</p><p>4169 },</p><p>4170 "role": {</p><p>4171 "type": "string"</p><p>4172 }</p><p>4173 },</p><p>4174 "additionalProperties": false</p><p>4175 },</p><p>4176 "role": {</p><p>4177 ...</p><p>4178 }</p><p>4179 },</p><p>4180 "additionalProperties": false</p><p>4181 }</p><p>4182 ]</p><p>4183 }</p><p>256 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4184 },</p><p>4185 "additionalProperties": false</p><p>4186 },</p><p>This schema indicates that the following objects can be created or replaced. § Database § DataSource § Table § Partition § Role Except for the Database object, the object being created or replaced is defined to be a child of a specified parentObject. The parent of the Database object is always the Server object, as described in [MS-SSAS].</p><p>4186.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4186.1.1.1.1.2 Alter Command The JSON alter command alters the specified object. If the object does not exist, the command raises an error. This command accepts only the object being altered. It does not accept child collections.</p><p>4186.1.1.1.1.2.1 Request The JSON schema for the alter command is as follows.</p><p>4187 {</p><p>4188 "type": "object",</p><p>4189 "description": "Alter command of Analysis Services JSON API",</p><p>4190 "properties": {</p><p>4191 "alter": {</p><p>4192 "description": "Parameters of Alter command of Analysis Services JSON API",</p><p>4193 "anyOf": [</p><p>4194 {</p><p>4195 "description": "Alter command for Database object",</p><p>4196 "type": "object",</p><p>4197 "properties": {</p><p>257 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4198 "object": {</p><p>4199 "description": "Path for object Database",</p><p>4200 "type": "object",</p><p>4201 "properties": {</p><p>4202 "database": {</p><p>4203 "type": "string"</p><p>4204 }</p><p>4205 },</p><p>4206 "additionalProperties": false</p><p>4207 },</p><p>4208 "database": {</p><p>4209 ...</p><p>4210 }</p><p>4211 },</p><p>4212 "additionalProperties": false</p><p>4213 },</p><p>4214 {</p><p>4215 "description": "Alter command for DataSource object",</p><p>4216 "type": "object",</p><p>4217 "properties": {</p><p>4218 "object": {</p><p>4219 "description": "Path for object DataSource",</p><p>4220 "type": "object",</p><p>4221 "properties": {</p><p>4222 "database": {</p><p>4223 "type": "string"</p><p>4224 },</p><p>4225 "dataSource": {</p><p>4226 "type": "string"</p><p>258 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4227 }</p><p>4228 },</p><p>4229 "additionalProperties": false</p><p>4230 },</p><p>4231 "dataSource": {</p><p>4232 ...</p><p>4233 }</p><p>4234 },</p><p>4235 "additionalProperties": false</p><p>4236 },</p><p>4237 {</p><p>4238 "description": "Alter command for Table object",</p><p>4239 "type": "object",</p><p>4240 "properties": {</p><p>4241 "object": {</p><p>4242 "description": "Path for object Table",</p><p>4243 "type": "object",</p><p>4244 "properties": {</p><p>4245 "database": {</p><p>4246 "type": "string"</p><p>4247 },</p><p>4248 "table": {</p><p>4249 "type": "string"</p><p>4250 }</p><p>4251 },</p><p>4252 "additionalProperties": false</p><p>4253 },</p><p>4254 "table": {</p><p>4255 ...</p><p>259 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4256 }</p><p>4257 },</p><p>4258 "additionalProperties": false</p><p>4259 },</p><p>4260 {</p><p>4261 "description": "Alter command for Partition object",</p><p>4262 "type": "object",</p><p>4263 "properties": {</p><p>4264 "object": {</p><p>4265 "description": "Path for object Partition",</p><p>4266 "type": "object",</p><p>4267 "properties": {</p><p>4268 "database": {</p><p>4269 "type": "string"</p><p>4270 },</p><p>4271 "table": {</p><p>4272 "type": "string"</p><p>4273 },</p><p>4274 "partition": {</p><p>4275 "type": "string"</p><p>4276 }</p><p>4277 },</p><p>4278 "additionalProperties": false</p><p>4279 },</p><p>4280 "partition": {</p><p>4281 ...</p><p>4282 }</p><p>4283 },</p><p>4284 "additionalProperties": false</p><p>260 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4285 },</p><p>4286 {</p><p>4287 "description": "Alter command for Role object",</p><p>4288 "type": "object",</p><p>4289 "properties": {</p><p>4290 "object": {</p><p>4291 "description": "Path for object Role",</p><p>4292 "type": "object",</p><p>4293 "properties": {</p><p>4294 "database": {</p><p>4295 "type": "string"</p><p>4296 },</p><p>4297 "role": {</p><p>4298 "type": "string"</p><p>4299 }</p><p>4300 },</p><p>4301 "additionalProperties": false</p><p>4302 },</p><p>4303 "role": {</p><p>4304 ...</p><p>4305 }</p><p>4306 },</p><p>4307 "additionalProperties": false</p><p>4308 }</p><p>4309 ]</p><p>4310 }</p><p>4311 },</p><p>4312 "additionalProperties": false</p><p>4313 },</p><p>261 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 This schema indicates that the following objects can be altered. § Database § DataSource § Table § Partition § Role The object being altered is specified by using the object path.</p><p>4313.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4313.1.1.1.1.2 Delete Command The JSON delete command deletes the specified object and all its child objects and collections. If the object does not exist, the command raises an error.</p><p>4313.1.1.1.1.2.1 Request The JSON schema for the delete command is as follows.</p><p>4314 {</p><p>4315 "type": "object",</p><p>4316 "description": "Delete command of Analysis Services JSON API",</p><p>4317 "properties": {</p><p>4318 "delete": {</p><p>4319 "description": "Parameters of Delete command of Analysis Services JSON API",</p><p>4320 "anyOf": [</p><p>4321 {</p><p>4322 "description": "Delete command for Database object",</p><p>4323 "type": "object",</p><p>4324 "properties": {</p><p>4325 "object": {</p><p>4326 "description": "Path for object Database",</p><p>4327 "type": "object",</p><p>4328 "properties": {</p><p>4329 "database": {</p><p>4330 "type": "string"</p><p>262 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4331 }</p><p>4332 },</p><p>4333 "additionalProperties": false</p><p>4334 }</p><p>4335 },</p><p>4336 "additionalProperties": false</p><p>4337 },</p><p>4338 {</p><p>4339 "description": "Delete command for DataSource object",</p><p>4340 "type": "object",</p><p>4341 "properties": {</p><p>4342 "object": {</p><p>4343 "description": "Path for object DataSource",</p><p>4344 "type": "object",</p><p>4345 "properties": {</p><p>4346 "database": {</p><p>4347 "type": "string"</p><p>4348 },</p><p>4349 "dataSource": {</p><p>4350 "type": "string"</p><p>4351 }</p><p>4352 },</p><p>4353 "additionalProperties": false</p><p>4354 }</p><p>4355 },</p><p>4356 "additionalProperties": false</p><p>4357 },</p><p>4358 {</p><p>4359 "description": "Delete command for Table object",</p><p>263 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4360 "type": "object",</p><p>4361 "properties": {</p><p>4362 "object": {</p><p>4363 "description": "Path for object Table",</p><p>4364 "type": "object",</p><p>4365 "properties": {</p><p>4366 "database": {</p><p>4367 "type": "string"</p><p>4368 },</p><p>4369 "table": {</p><p>4370 "type": "string"</p><p>4371 }</p><p>4372 },</p><p>4373 "additionalProperties": false</p><p>4374 }</p><p>4375 },</p><p>4376 "additionalProperties": false</p><p>4377 },</p><p>4378 {</p><p>4379 "description": "Delete command for Partition object",</p><p>4380 "type": "object",</p><p>4381 "properties": {</p><p>4382 "object": {</p><p>4383 "description": "Path for object Partition",</p><p>4384 "type": "object",</p><p>4385 "properties": {</p><p>4386 "database": {</p><p>4387 "type": "string"</p><p>4388 },</p><p>264 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4389 "table": {</p><p>4390 "type": "string"</p><p>4391 },</p><p>4392 "partition": {</p><p>4393 "type": "string"</p><p>4394 }</p><p>4395 },</p><p>4396 "additionalProperties": false</p><p>4397 }</p><p>4398 },</p><p>4399 "additionalProperties": false</p><p>4400 },</p><p>4401 {</p><p>4402 "description": "Delete command for Role object",</p><p>4403 "type": "object",</p><p>4404 "properties": {</p><p>4405 "object": {</p><p>4406 "description": "Path for object Role",</p><p>4407 "type": "object",</p><p>4408 "properties": {</p><p>4409 "database": {</p><p>4410 "type": "string"</p><p>4411 },</p><p>4412 "role": {</p><p>4413 "type": "string"</p><p>4414 }</p><p>4415 },</p><p>4416 "additionalProperties": false</p><p>4417 }</p><p>265 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4418 },</p><p>4419 "additionalProperties": false</p><p>4420 }</p><p>4421 ]</p><p>4422 }</p><p>4423 },</p><p>4424 "additionalProperties": false</p><p>4425 },</p><p>This schema indicates that the following objects can be deleted. § Database § DataSource § Table § Partition § Role The object being deleted is specified by using the object path.</p><p>4425.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4425.1.1.1.1.2 Refresh Command The JSON refresh command refreshes the contents of the specified object and propagates changes to objects that depend on the affected objects. If the object does not exist, the command raises an error.</p><p>4425.1.1.1.1.2.1 Request The JSON schema for the refresh command is as follows.</p><p>4426 {</p><p>4427 "type": "object",</p><p>4428 "description": "Refresh command of Analysis Services JSON API",</p><p>4429 "properties": {</p><p>4430 "refresh": {</p><p>4431 "description": "Parameters of Refresh command of Analysis Services JSON API",</p><p>4432 "properties": {</p><p>4433 "type": {</p><p>266 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4434 "enum": [</p><p>4435 "full",</p><p>4436 "clearValues",</p><p>4437 "calculate",</p><p>4438 "dataOnly",</p><p>4439 "automatic",</p><p>4440 "add",</p><p>4441 "defragment"</p><p>4442 ]</p><p>4443 },</p><p>4444 "objects": {</p><p>4445 "type": "array",</p><p>4446 "items": {</p><p>4447 "anyOf": [</p><p>4448 {</p><p>4449 "description": "Path for object Database",</p><p>4450 "type": "object",</p><p>4451 "properties": {</p><p>4452 "database": {</p><p>4453 "type": "string"</p><p>4454 }</p><p>4455 },</p><p>4456 "additionalProperties": false</p><p>4457 },</p><p>4458 {</p><p>4459 "description": "Path for object Table",</p><p>4460 "type": "object",</p><p>4461 "properties": {</p><p>4462 "database": {</p><p>267 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4463 "type": "string"</p><p>4464 },</p><p>4465 "table": {</p><p>4466 "type": "string"</p><p>4467 }</p><p>4468 },</p><p>4469 "additionalProperties": false</p><p>4470 },</p><p>4471 {</p><p>4472 "description": "Path for object Partition",</p><p>4473 "type": "object",</p><p>4474 "properties": {</p><p>4475 "database": {</p><p>4476 "type": "string"</p><p>4477 },</p><p>4478 "table": {</p><p>4479 "type": "string"</p><p>4480 },</p><p>4481 "partition": {</p><p>4482 "type": "string"</p><p>4483 }</p><p>4484 },</p><p>4485 "additionalProperties": false</p><p>4486 }</p><p>4487 ]</p><p>4488 }</p><p>4489 }</p><p>4490 }</p><p>4491 }</p><p>268 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4492 },</p><p>4493 "additionalProperties": false</p><p>4494 },</p><p>The different types of refresh operations are as follows. Refresh Type Applies To Description full Database For all partitions in the specified partition, table, or database, refresh Table data and recalculate all dependents. For a calculation partition, recalculate the partition and all its dependents. Partition clearValues Database Clear values in this object and all its dependents. Table Partition calculate Database Recalculate this object and all its dependents, but only if needed. This Table value does not force recalculation, except for volatile formulas. Partition dataOnly Database Refresh data in this object and clear all dependents. Table Partition automatic Database If the object needs to be refreshed and recalculated, refresh and Table recalculate the object and all its dependents. Applies if the partition is in a state other than Ready (see section 2.2.5.6). Partition add Partition Append data to this partition and recalculate all dependents. This command is valid only for regular partitions and not for calculation partitions. defragment Database Defragment the data in the specified table. As data is added to or Table removed from a table, the dictionaries of each column can become polluted with values that no longer exist in the actual column values. The defragment option will clean up the values in the dictionaries that are no longer used.</p><p>For details on specific behaviors of these refresh types for each object, see section 3.1.5.2.1.5.</p><p>4494.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4494.1.1.1.1.2 Sequence Command The JSON sequence command enables execution of multiple JSON commands in one request. The commands are executed in a logically sequential manner. In addition, the analysis server can optimize the commands by automatically parallelizing some of them together.</p><p>4494.1.1.1.1.2.1 Request The JSON schema for the sequence command is as follows.</p><p>269 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4495 {</p><p>4496 "type": "object",</p><p>4497 "description": "Sequence command of Analysis Services JSON API",</p><p>4498 "properties": {</p><p>4499 "sequence": {</p><p>4500 "description": "Parameters of Sequence command of Analysis Services JSON API",</p><p>4501 "properties": {</p><p>4502 "maxParallelism": {</p><p>4503 "type": "integer"</p><p>4504 },</p><p>4505 "operations": {</p><p>4506 "type": "array",</p><p>4507 "items": {</p><p>4508 "anyOf": [</p><p>4509 {</p><p>4510 "type": "object",</p><p>4511 "description": "Create command of Analysis Services JSON API",</p><p>4512 "properties": {</p><p>4513 "create": {</p><p>4514 "description": "Parameters of Create command of Analysis Services JSON API",</p><p>4515 ...</p><p>4516 }</p><p>4517 },</p><p>4518 "additionalProperties": false</p><p>4519 },</p><p>4520 {</p><p>4521 "type": "object",</p><p>4522 "description": "CreateOrReplace command of Analysis Services JSON API",</p><p>4523 "properties": {</p><p>270 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4524 "createOrReplace": {</p><p>4525 "description": "Parameters of CreateOrReplace command of Analysis Services JSON API",</p><p>4526 ...</p><p>4527 }</p><p>4528 },</p><p>4529 "additionalProperties": false</p><p>4530 },</p><p>4531 {</p><p>4532 "type": "object",</p><p>4533 "description": "Alter command of Analysis Services JSON API",</p><p>4534 "properties": {</p><p>4535 "alter": {</p><p>4536 "description": "Parameters of Alter command of Analysis Services JSON API",</p><p>4537 ...</p><p>4538 }</p><p>4539 },</p><p>4540 "additionalProperties": false</p><p>4541 },</p><p>4542 {</p><p>4543 "type": "object",</p><p>4544 "description": "Delete command of Analysis Services JSON API",</p><p>4545 "properties": {</p><p>4546 "delete": {</p><p>4547 "description": "Parameters of Delete command of Analysis Services JSON API",</p><p>4548 ...</p><p>4549 }</p><p>4550 },</p><p>4551 "additionalProperties": false</p><p>271 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4552 },</p><p>4553 {</p><p>4554 "type": "object",</p><p>4555 "description": "Refresh command of Analysis Services JSON API",</p><p>4556 "properties": {</p><p>4557 "refresh": {</p><p>4558 "description": "Parameters of Refresh command of Analysis Services JSON API",</p><p>4559 "properties": </p><p>4560 ...</p><p>4561 }</p><p>4562 },</p><p>4563 "additionalProperties": false</p><p>4564 },</p><p>4565 {</p><p>4566 "type": "object",</p><p>4567 "description": "Backup command of Analysis Services JSON API",</p><p>4568 "properties": {</p><p>4569 "backup": {</p><p>4570 "description": "Parameters of Backup command of Analysis Services JSON API",</p><p>4571 "properties": </p><p>4572 ...</p><p>4573 "additionalProperties": false</p><p>4574 }</p><p>4575 },</p><p>4576 "additionalProperties": false</p><p>4577 },</p><p>4578 {</p><p>4579 "type": "object",</p><p>4580 "description": "Restore command of Analysis Services JSON API",</p><p>272 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4581 "properties": {</p><p>4582 "restore": {</p><p>4583 "description": "Parameters of Restore command of Analysis Services JSON API",</p><p>4584 "properties": </p><p>4585 ...</p><p>4586 "additionalProperties": false</p><p>4587 }</p><p>4588 },</p><p>4589 "additionalProperties": false</p><p>4590 },</p><p>4591 {</p><p>4592 "type": "object",</p><p>4593 "description": "Attach command of Analysis Services JSON API",</p><p>4594 "properties": {</p><p>4595 "attach": {</p><p>4596 "description": "Parameters of Attach command of Analysis Services JSON API",</p><p>4597 "properties":</p><p>4598 ...</p><p>4599 "additionalProperties": false</p><p>4600 }</p><p>4601 },</p><p>4602 "additionalProperties": false</p><p>4603 },</p><p>4604 {</p><p>4605 "type": "object",</p><p>4606 "description": "Detach command of Analysis Services JSON API",</p><p>4607 "properties": {</p><p>4608 "detach": {</p><p>273 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4609 "description": "Parameters of Detach command of Analysis Services JSON API",</p><p>4610 "properties": </p><p>4611 ...</p><p>4612 "additionalProperties": false</p><p>4613 }</p><p>4614 },</p><p>4615 "additionalProperties": false</p><p>4616 }</p><p>4617 ]</p><p>4618 }</p><p>4619 }</p><p>4620 }</p><p>4621 }</p><p>4622 },</p><p>4623 "additionalProperties": false</p><p>4624 }</p><p>The following commands can be specified inside the sequence command. § Create § CreateOrReplace</p><p>§ Alter</p><p>§ Delete</p><p>§ Refresh</p><p>§ Backup</p><p>§ Restore</p><p>§ Attach</p><p>§ Detach The sequence command also accepts the maxParallelism integer property, which specifies the upper bound for the server to place on the parallelism of the sequence command operations. The server will attempt to limit the tasks that are executed concurrently, but the limit is not guaranteed to be enforced.</p><p>4624.1.1.1.1.1.1 Response</p><p>274 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4624.1.1.1.1.2 Backup Command The JSON backup command creates a backup of the specified database. If the object does not exist, the command raises an error.</p><p>4624.1.1.1.1.2.1 Request The JSON schema for the backup command is as follows.</p><p>4625 {</p><p>4626 "type": "object",</p><p>4627 "description": "Backup command of Analysis Services JSON API",</p><p>4628 "properties": {</p><p>4629 "backup": {</p><p>4630 "description": "Parameters of Backup command of Analysis Services JSON API",</p><p>4631 "properties": {</p><p>4632 "database": {</p><p>4633 "type": "string"</p><p>4634 },</p><p>4635 "file": {</p><p>4636 "type": "string"</p><p>4637 },</p><p>4638 "password": {</p><p>4639 "type": "string"</p><p>4640 },</p><p>4641 "allowOverwrite": {</p><p>4642 "type": "boolean"</p><p>4643 },</p><p>4644 "applyCompression": {</p><p>4645 "type": "boolean"</p><p>4646 }</p><p>4647 },</p><p>275 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4648 "additionalProperties": false</p><p>4649 }</p><p>4650 },</p><p>4651 "additionalProperties": false</p><p>4652 },</p><p>The properties accepted by the JSON backup command are as follows. They are similar to the properties accepted by the XMLA Backup command described in [MS-SSAS] section 3.1.4.3.2.1.1.17. Default Property value Description database [Required] The name of the database object to be backed up. file [Required] The backup file name/path. password Empty The password to use for encrypting the backup file. allowOverwrite False A Boolean that, when true, indicates that a backup file that already exists will be overwritten; otherwise false. applyCompression True A Boolean that, when true, indicates that backup files are compressed; otherwise false.</p><p>4652.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4652.1.1.1.1.2 Restore Command The JSON restore command restores the specified database from a backup file.</p><p>4652.1.1.1.1.2.1 Request The JSON schema for the restore command is as follows.</p><p>4653 {</p><p>4654 "type": "object",</p><p>4655 "description": "Restore command of Analysis Services JSON API",</p><p>4656 "properties": {</p><p>4657 "restore": {</p><p>4658 "description": "Parameters of Restore command of Analysis Services JSON API",</p><p>4659 "properties": {</p><p>4660 "database": {</p><p>276 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4661 "type": "string"</p><p>4662 },</p><p>4663 "file": {</p><p>4664 "type": "string"</p><p>4665 },</p><p>4666 "password": {</p><p>4667 "type": "string"</p><p>4668 },</p><p>4669 "dbStorageLocation": {</p><p>4670 "type": "string"</p><p>4671 },</p><p>4672 "allowOverwrite": {</p><p>4673 "type": "boolean"</p><p>4674 },</p><p>4675 "readWriteMode": {</p><p>4676 "enum": [</p><p>4677 "readWrite",</p><p>4678 "readOnly",</p><p>4679 "readOnlyExclusive"</p><p>4680 ]</p><p>4681 }</p><p>4682 },</p><p>4683 "additionalProperties": false</p><p>4684 }</p><p>4685 },</p><p>4686 "additionalProperties": false</p><p>4687 },</p><p>The properties accepted by the JSON restore command are as follows. They are similar to the properties accepted by the XMLA Restore command described in [MS-SSAS] section 3.1.4.3.2.1.1.18.</p><p>277 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 Default Property value Description database [Required] The name of the database object to be restored. file [Required] The backup file name/path. password Empty The password to use to decrypt the backup file. dbStorageLocation Empty Storage location for the restored database. allowOverwrite False A Boolean that, when true, indicates that a backup file that already exists will be overwritten; otherwise false. readWriteMode readWrite An enumeration value that indicates the access modes allowed to the database. The enumeration values are as follows. § readWrite – Read-write access is allowed. § readOnly – Read-only access is allowed. § readOnlyExclusive – Read-only exclusive access is allowed.</p><p>4687.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4687.1.1.1.1.2 Attach Command The JSON attach command attaches a detached database.</p><p>4687.1.1.1.1.2.1 Request The JSON schema for the attach command is as follows.</p><p>4688 {</p><p>4689 "type": "object",</p><p>4690 "description": "Attach command of Analysis Services JSON API",</p><p>4691 "properties": {</p><p>4692 "attach": {</p><p>4693 "description": "Parameters of Attach command of Analysis Services JSON API",</p><p>4694 "properties": {</p><p>4695 "folder": {</p><p>4696 "type": "string"</p><p>4697 },</p><p>4698 "password": {</p><p>4699 "type": "string"</p><p>4700 },</p><p>4701 "readWriteMode": {</p><p>278 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4702 "enum": [</p><p>4703 "readWrite",</p><p>4704 "readOnly",</p><p>4705 "readOnlyExclusive"</p><p>4706 ]</p><p>4707 }</p><p>4708 },</p><p>4709 "additionalProperties": false</p><p>4710 }</p><p>4711 },</p><p>4712 "additionalProperties": false</p><p>4713 },</p><p>The properties accepted by the JSON attach command are as follows. They are similar to the properties accepted by the XMLA Attach command described in [MS-SSAS] section 3.1.4.3.2.1.1.20. Default Property value Description</p><p> database [Required] The name of the database object to be attached.</p><p> folder [Required] The folder that contains the detached database.</p><p> password Empty The password to use to decrypt secrets in the detached database.</p><p> readWriteMode readWrite An enumeration value that indicates the access modes allowed to the database. The enumeration values are as follows. § readWrite – Read-write access is allowed. § readOnly – Read-only access is allowed. § readOnlyExclusive – Read-only exclusive access is allowed.</p><p>4713.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4713.1.1.1.1.2 Detach Command The JSON detach command detaches the specified database from the server. If the database does not exist, the command raises an error.</p><p>4713.1.1.1.1.2.1 Request The JSON schema for the detach command is as follows.</p><p>279 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4714 {</p><p>4715 "type": "object",</p><p>4716 "description": "Detach command of Analysis Services JSON API",</p><p>4717 "properties": {</p><p>4718 "detach": {</p><p>4719 "description": "Parameters of Detach command of Analysis Services JSON API",</p><p>4720 "properties": {</p><p>4721 "database": {</p><p>4722 "type": "string"</p><p>4723 },</p><p>4724 "password": {</p><p>4725 "type": "string"</p><p>4726 }</p><p>4727 },</p><p>4728 "additionalProperties": false</p><p>4729 }</p><p>4730 },</p><p>4731 "additionalProperties": false</p><p>4732 }</p><p>The properties accepted by the JSON detach command are as follows. They are similar to the properties accepted by the XMLA Detach command described in [MS-SSAS] section 3.1.4.3.2.1.1.21. Property Default value Description</p><p> database [Required] The name of the database object to be detached.</p><p> password Empty The password to use to encrypt secrets in the detached database.</p><p>4732.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4732.1.1.1.1.2 Synchronize Command</p><p>280 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 The JSON synchronize command synchronizes the database from a source server.</p><p>4732.1.1.1.1.2.1 Request The JSON schema for the synchronize command is as follows.</p><p>4733 {</p><p>4734 "type": "object",</p><p>4735 "description": "Synchronize command of Analysis Services JSON API",</p><p>4736 "properties": {</p><p>4737 "synchronize": {</p><p>4738 "description": "Parameters of Synchronize command of Analysis Services JSON API",</p><p>4739 "properties": {</p><p>4740 "database": {</p><p>4741 "type": "string"</p><p>4742 },</p><p>4743 "source": {</p><p>4744 "type": "string"</p><p>4745 },</p><p>4746 "synchronizeSecurity": {</p><p>4747 "enum": [</p><p>4748 "copyAll",</p><p>4749 "skipMembership",</p><p>4750 "ignoreSecurity"</p><p>4751 ]</p><p>4752 },</p><p>4753 "applyCompression": {</p><p>4754 "type": "boolean"</p><p>4755 }</p><p>4756 }</p><p>4757 }</p><p>4758 },</p><p>4759 "additionalProperties": false</p><p>281 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4760 },</p><p>4761</p><p>The properties accepted by the JSON synchronize command are as follows. They are similar to the properties accepted by the XMLA Synchronize command described in [MS-SSAS] section 3.1.4.3.2.1.1.19. Property Default value Description</p><p> database The name of the database object.</p><p> source The connection string to use to connect to the source server.</p><p> synchronizeSecurity skipMembership An enumeration value that specifies how to restore security definitions, including roles and permissions.</p><p> applyCompression True A Boolean that, when true, indicates that compression will be applied during the synchronization operation; otherwise false.</p><p>4761.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4761.1.1.1.1.2 MergePartitions Command The JSON mergePartitions command merges the partitions specified in the source array into the target partition.</p><p>4761.1.1.1.1.2.1 Request The JSON schema for the mergePartitions command is as follows.</p><p>4762 {</p><p>4763 "type": "object",</p><p>4764 "description": "MergePartitions command of Analysis Services JSON API",</p><p>4765 "properties": {</p><p>4766 "mergePartitions": {</p><p>4767 "description": "Parameters of MergePartitions command of Analysis Services JSON API",</p><p>4768 "properties": {</p><p>4769 "target": {</p><p>4770 "description": "Path for object Partition",</p><p>4771 "type": "object",</p><p>4772 "properties": {</p><p>4773 "database": {</p><p>282 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4774 "type": "string"</p><p>4775 },</p><p>4776 "table": {</p><p>4777 "type": "string"</p><p>4778 },</p><p>4779 "partition": {</p><p>4780 "type": "string"</p><p>4781 }</p><p>4782 },</p><p>4783 "additionalProperties": false</p><p>4784 },</p><p>4785 "sources": {</p><p>4786 "type": "array",</p><p>4787 "items": {</p><p>4788 "type": "string"</p><p>4789 },</p><p>4790 "minItems": 1,</p><p>4791 "uniqueItems": true</p><p>4792 }</p><p>4793 }</p><p>4794 }</p><p>4795 },</p><p>4796 "additionalProperties": false</p><p>4797 }</p><p>Property Default value Description</p><p> database The name of the database object.</p><p> target.table The name of the table that contains the partitions that are being merged.</p><p> target.partition The name of the target partition.</p><p> sources An array of strings that contains the names of the source partitions.</p><p>283 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4797.1.1.1.1.1.1 Response If the request fails, an XMLA exception is returned in the response (see [MS- SSAS] section 2.2.4.1.5.1). Otherwise, the response is an empty result (see [MS-SSAS] section 2.2.4.1.2).</p><p>4797.1.2 Timer Events None. All protocol requests are initiated by the client.</p><p>4797.1.3 Other Local Events None.</p><p>284 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4798 Protocol Examples</p><p>4798.1 Refresh Tabular Metadata (XMLA) In this example, the client sends an XMLA Tabular Refresh Command to the server with the ReturnAffectedObjects property.</p><p>4798.1.1 Client Sends Request The client sends the following request:</p><p>4799 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"></p><p>4800 <Header></p><p>4801 <Session xmlns="urn:schemas-microsoft-com:xml-analysis"</p><p>4802 SessionId="34B67555-85B9-46CE-8803-4BEC7D6AEE13" /></p><p>4803 </Header></p><p>4804 <Body></p><p>4805 <Execute xmlns="urn:schemas-microsoft-com:xml-analysis"></p><p>4806 <Command></p><p>4807 <Refresh xmlns="http://schemas.microsoft.com/analysisservices/2014/engine"></p><p>4808 <DatabaseID>PushedDataDB</DatabaseID></p><p>4809 <PushedData>InputRowset</PushedData></p><p>4810 <EndOfData>EndOfInputRowset</EndOfData></p><p>4811 <Partitions></p><p>4812 <!-- Begin Refresh Partition schema --></p><p>4813 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas- microsoft-com:xml-sql"></p><p>4814 <xs:element></p><p>4815 <xs:complexType></p><p>4816 <xs:sequence></p><p>4817 <xs:element type="row" /></p><p>4818 </xs:sequence></p><p>4819 </xs:complexType></p><p>4820 </xs:element></p><p>4821 <xs:complexType name="row"></p><p>285 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4822 <xs:sequence></p><p>4823 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>4824 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>4825 <xs:element name="ID.Partition" type="xs:string" sql:field="ID.Partition" minOccurs="0" /></p><p>4826 <xs:element name="RefreshType" type="xs:long" sql:field="RefreshType" minOccurs="0" /></p><p>4827 </xs:sequence></p><p>4828 </xs:complexType></p><p>4829 </xs:schema></p><p>4830 <!-- End Refresh Partition schema --></p><p>4831 <row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"></p><p>4832 <ID>13</ID></p><p>4833 <RefreshType>4</RefreshType></p><p>4834 </row></p><p>4835 </Partitions></p><p>4836 <Bindings></p><p>4837 <Binding></p><p>4838 <ObjectID>13</ObjectID></p><p>4839 <Columns></p><p>4840 <!-- Begin Bindings Column schema --></p><p>4841 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas-microsoft-com:xml-sql"></p><p>4842 <xs:element></p><p>4843 <xs:complexType></p><p>4844 <xs:sequence></p><p>4845 <xs:element type="row" /></p><p>4846 </xs:sequence></p><p>4847 </xs:complexType></p><p>4848 </xs:element></p><p>4849 <xs:complexType name="row"></p><p>286 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4850 <xs:sequence></p><p>4851 <xs:element name="ID" type="xs:unsignedLong" sql:field="ID" minOccurs="0" /></p><p>4852 <xs:element name="ID.Table" type="xs:string" sql:field="ID.Table" minOccurs="0" /></p><p>4853 <xs:element name="ID.Column" type="xs:string" sql:field="ID.Column" minOccurs="0" /></p><p>4854 <xs:element name="SourceColumn" type="xs:string" sql:field="SourceColumn" minOccurs="0" /></p><p>4855 </xs:sequence></p><p>4856 </xs:complexType></p><p>4857 </xs:schema></p><p>4858 <!-- End Bindings Column schema --></p><p>4859 <row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"></p><p>4860 <ID>14</ID></p><p>4861 <SourceColumn>a</SourceColumn></p><p>4862 </row></p><p>4863 <row xmlns="urn:schemas-microsoft-com:xml-analysis:rowset"></p><p>4864 <ID>15</ID></p><p>4865 <SourceColumn>b</SourceColumn></p><p>4866 </row></p><p>4867 </Columns></p><p>4868 </Binding></p><p>4869 </Bindings></p><p>4870 </Refresh></p><p>4871 </Command></p><p>4872 <Properties></p><p>4873 <PropertyList></p><p>4874 <ReturnAffectedObjects>2</ReturnAffectedObjects></p><p>4875 </PropertyList></p><p>4876 </Properties></p><p>287 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4877 <Parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"></p><p>4878 <Parameter></p><p>4879 <Name>InputRowset</Name></p><p>4880 <Value xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"></p><p>4881 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>4882 <xsd:element name="root"></p><p>4883 <xsd:complexType></p><p>4884 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>4885 <xsd:element name="row" type="row" /></p><p>4886 </xsd:sequence></p><p>4887 </xsd:complexType></p><p>4888 </xsd:element></p><p>4889 <xsd:simpleType name="uuid"></p><p>4890 <xsd:restriction base="xsd:string"></p><p>4891 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>4892 </xsd:restriction></p><p>4893 </xsd:simpleType></p><p>4894 <xsd:complexType name="xmlDocument"></p><p>4895 <xsd:sequence></p><p>4896 <xsd:any /></p><p>4897 </xsd:sequence></p><p>4898 </xsd:complexType></p><p>4899 <xsd:complexType name="row"></p><p>4900 <xsd:sequence></p><p>4901 <xsd:element sql:field="a" name="a" type="xsd:int" minOccurs="0" /></p><p>4902 <xsd:element sql:field="b" name="b" type="xsd:string" minOccurs="0" /></p><p>4903 </xsd:sequence></p><p>288 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4904 </xsd:complexType></p><p>4905 </xsd:schema></p><p>4906 <row></p><p>4907 <a>10</a></p><p>4908 <b>b10</b></p><p>4909 </row></p><p>4910 <row></p><p>4911 <a>20</a></p><p>4912 <b>b20</b></p><p>4913 </row></p><p>4914 </Value></p><p>4915 </Parameter></p><p>4916 <Parameter></p><p>4917 <Name>InputRowset</Name></p><p>4918 <Value xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"></p><p>4919 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>4920 <xsd:element name="root"></p><p>4921 <xsd:complexType></p><p>4922 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>4923 <xsd:element name="row" type="row" /></p><p>4924 </xsd:sequence></p><p>4925 </xsd:complexType></p><p>4926 </xsd:element></p><p>4927 <xsd:simpleType name="uuid"></p><p>4928 <xsd:restriction base="xsd:string"></p><p>4929 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>4930 </xsd:restriction></p><p>4931 </xsd:simpleType></p><p>289 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4932 <xsd:complexType name="xmlDocument"></p><p>4933 <xsd:sequence></p><p>4934 <xsd:any /></p><p>4935 </xsd:sequence></p><p>4936 </xsd:complexType></p><p>4937 <xsd:complexType name="row"></p><p>4938 <xsd:sequence></p><p>4939 <xsd:element sql:field="a" name="a" type="xsd:int" minOccurs="0" /></p><p>4940 <xsd:element sql:field="b" name="b" type="xsd:string" minOccurs="0" /></p><p>4941 </xsd:sequence></p><p>4942 </xsd:complexType></p><p>4943 </xsd:schema></p><p>4944 <row></p><p>4945 <a>1</a></p><p>4946 <b>b1</b></p><p>4947 </row></p><p>4948 <row></p><p>4949 <a>2</a></p><p>4950 <b>b2</b></p><p>4951 </row></p><p>4952 </Value></p><p>4953 </Parameter></p><p>4954 <Parameter></p><p>4955 <Name>EndOfInputRowset</Name></p><p>4956 <Value xsi:type="xsd:boolean">true</Value></p><p>4957 </Parameter></p><p>4958 </Parameters></p><p>4959 </Execute></p><p>4960 </Body> </p><p>4961 </Envelope></p><p>290 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4961.1.1 Server Response The server responds with the results of the XMLA Tabular Refresh Command:</p><p>4962 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></p><p>4963 <soap:Body></p><p>4964 <ExecuteResponse xmlns="urn:schemas-microsoft-com:xml-analysis"></p><p>4965 <return></p><p>4966 <AffectedObjects xmlns="http://schemas.microsoft.com/analysisservices/2003/xmla- multipleresults" name="PushedDataDB" BaseVersion="0" CurrentVersion="5"></p><p>4967 <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla" name="Model"></p><p>4968 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>4969 <xsd:element name="root"></p><p>4970 <xsd:complexType></p><p>4971 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>4972 <xsd:element name="row" type="row" /></p><p>4973 </xsd:sequence></p><p>4974 </xsd:complexType></p><p>4975 </xsd:element></p><p>4976 <xsd:simpleType name="uuid"></p><p>4977 <xsd:restriction base="xsd:string"></p><p>4978 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>4979 </xsd:restriction></p><p>4980 </xsd:simpleType></p><p>4981 <xsd:complexType name="xmlDocument"></p><p>4982 <xsd:sequence></p><p>4983 <xsd:any /></p><p>4984 </xsd:sequence></p><p>4985 </xsd:complexType></p><p>4986 <xsd:complexType name="row"></p><p>291 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 4987 <xsd:sequence></p><p>4988 <xsd:element sql:field="ID" name="ID" type="xsd:unsignedLong" minOccurs="0" /></p><p>4989 <xsd:element sql:field="Name" name="Name" type="xsd:string" minOccurs="0" /></p><p>4990 <xsd:element sql:field="Description" name="Description" type="xsd:string" minOccurs="0" /></p><p>4991 <xsd:element sql:field="StorageLocation" name="StorageLocation" type="xsd:string" minOccurs="0" /></p><p>4992 <xsd:element sql:field="DefaultMode" name="DefaultMode" type="xsd:long" minOccurs="0" /></p><p>4993 <xsd:element sql:field="DefaultDataView" name="DefaultDataView" type="xsd:long" minOccurs="0" /></p><p>4994 <xsd:element sql:field="Culture" name="Culture" type="xsd:string" minOccurs="0" /></p><p>4995 <xsd:element sql:field="Collation" name="Collation" type="xsd:string" minOccurs="0" /></p><p>4996 <xsd:element sql:field="ModifiedTime" name="ModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>4997 <xsd:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>4998 <xsd:element sql:field="Version" name="Version" type="xsd:long" minOccurs="0" /></p><p>4999 <xsd:element sql:field="ImpactType" name="ImpactType" type="xsd:int" /></p><p>5000 </xsd:sequence></p><p>5001 </xsd:complexType></p><p>5002 </xsd:schema></p><p>5003 <row></p><p>5004 <ID>1</ID></p><p>5005 <Name>Model</Name></p><p>5006 <DefaultMode>0</DefaultMode></p><p>5007 <DefaultDataView>0</DefaultDataView></p><p>5008 <Culture>en-US</Culture></p><p>5009 <ModifiedTime>2015-09-30T03:25:33.133333</ModifiedTime></p><p>5010 <StructureModifiedTime>2015-09-30T03:25:33.306667</StructureModifiedTime></p><p>5011 <Version>5</Version></p><p>292 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5012 </row></p><p>5013 </root></p><p>5014 <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla" name="Table"></p><p>5015 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>5016 <xsd:element name="root"></p><p>5017 <xsd:complexType></p><p>5018 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>5019 <xsd:element name="row" type="row" /></p><p>5020 </xsd:sequence></p><p>5021 </xsd:complexType></p><p>5022 </xsd:element></p><p>5023 <xsd:simpleType name="uuid"></p><p>5024 <xsd:restriction base="xsd:string"></p><p>5025 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>5026 </xsd:restriction></p><p>5027 </xsd:simpleType></p><p>5028 <xsd:complexType name="xmlDocument"></p><p>5029 <xsd:sequence></p><p>5030 <xsd:any /></p><p>5031 </xsd:sequence></p><p>5032 </xsd:complexType></p><p>5033 <xsd:complexType name="row"></p><p>5034 <xsd:sequence></p><p>5035 <xsd:element sql:field="ID" name="ID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5036 <xsd:element sql:field="ModelID" name="ModelID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5037 <xsd:element sql:field="Name" name="Name" type="xsd:string" minOccurs="0" /></p><p>293 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5038 <xsd:element sql:field="DataCategory" name="DataCategory" type="xsd:string" minOccurs="0" /></p><p>5039 <xsd:element sql:field="Description" name="Description" type="xsd:string" minOccurs="0" /></p><p>5040 <xsd:element sql:field="IsHidden" name="IsHidden" type="xsd:boolean" minOccurs="0" /></p><p>5041 <xsd:element sql:field="TableStorageID" name="TableStorageID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5042 <xsd:element sql:field="ModifiedTime" name="ModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5043 <xsd:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5044 <xsd:element sql:field="SystemFlags" name="SystemFlags" type="xsd:long" minOccurs="0" /></p><p>5045 <xsd:element sql:field="ImpactType" name="ImpactType" type="xsd:int" /></p><p>5046 </xsd:sequence></p><p>5047 </xsd:complexType></p><p>5048 </xsd:schema></p><p>5049 <row></p><p>5050 <ID>10</ID></p><p>5051 <ModelID>1</ModelID></p><p>5052 <Name>PastedTable</Name></p><p>5053 <IsHidden>false</IsHidden></p><p>5054 <TableStorageID>18</TableStorageID></p><p>5055 <ModifiedTime>2015-09-30T03:25:33.306667</ModifiedTime></p><p>5056 <StructureModifiedTime>2015-09-30T03:25:33.306667</StructureModifiedTime></p><p>5057 <SystemFlags>0</SystemFlags></p><p>5058 </row></p><p>5059 </root></p><p>5060 <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla" name="Column"></p><p>5061 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>5062 <xsd:element name="root"></p><p>294 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5063 <xsd:complexType></p><p>5064 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>5065 <xsd:element name="row" type="row" /></p><p>5066 </xsd:sequence></p><p>5067 </xsd:complexType></p><p>5068 </xsd:element></p><p>5069 <xsd:simpleType name="uuid"></p><p>5070 <xsd:restriction base="xsd:string"></p><p>5071 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>5072 </xsd:restriction></p><p>5073 </xsd:simpleType></p><p>5074 <xsd:complexType name="xmlDocument"></p><p>5075 <xsd:sequence></p><p>5076 <xsd:any /></p><p>5077 </xsd:sequence></p><p>5078 </xsd:complexType></p><p>5079 <xsd:complexType name="row"></p><p>5080 <xsd:sequence></p><p>5081 <xsd:element sql:field="ID" name="ID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5082 <xsd:element sql:field="TableID" name="TableID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5083 <xsd:element sql:field="ExplicitName" name="ExplicitName" type="xsd:string" minOccurs="0" /></p><p>5084 <xsd:element sql:field="InferredName" name="InferredName" type="xsd:string" minOccurs="0" /></p><p>5085 <xsd:element sql:field="ExplicitDataType" name="ExplicitDataType" type="xsd:long" minOccurs="0" /></p><p>5086 <xsd:element sql:field="InferredDataType" name="InferredDataType" type="xsd:long" minOccurs="0" /></p><p>5087 <xsd:element sql:field="DataCategory" name="DataCategory" type="xsd:string" minOccurs="0" /></p><p>5088 <xsd:element sql:field="Description" name="Description" type="xsd:string" minOccurs="0" /></p><p>295 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5089 <xsd:element sql:field="IsHidden" name="IsHidden" type="xsd:boolean" minOccurs="0" /></p><p>5090 <xsd:element sql:field="State" name="State" type="xsd:long" minOccurs="0" /></p><p>5091 <xsd:element sql:field="IsUnique" name="IsUnique" type="xsd:boolean" minOccurs="0" /></p><p>5092 <xsd:element sql:field="IsKey" name="IsKey" type="xsd:boolean" minOccurs="0" /></p><p>5093 <xsd:element sql:field="IsNullable" name="IsNullable" type="xsd:boolean" minOccurs="0" /></p><p>5094 <xsd:element sql:field="Alignment" name="Alignment" type="xsd:long" minOccurs="0" /></p><p>5095 <xsd:element sql:field="TableDetailPosition" name="TableDetailPosition" type="xsd:int" minOccurs="0" /></p><p>5096 <xsd:element sql:field="IsDefaultLabel" name="IsDefaultLabel" type="xsd:boolean" minOccurs="0" /></p><p>5097 <xsd:element sql:field="IsDefaultImage" name="IsDefaultImage" type="xsd:boolean" minOccurs="0" /></p><p>5098 <xsd:element sql:field="SummarizeBy" name="SummarizeBy" type="xsd:long" minOccurs="0" /></p><p>5099 <xsd:element sql:field="ColumnStorageID" name="ColumnStorageID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5100 <xsd:element sql:field="Type" name="Type" type="xsd:long" minOccurs="0" /></p><p>5101 <xsd:element sql:field="SourceColumn" name="SourceColumn" type="xsd:string" minOccurs="0" /></p><p>5102 <xsd:element sql:field="ColumnOriginID" name="ColumnOriginID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5103 <xsd:element sql:field="Expression" name="Expression" type="xsd:string" minOccurs="0" /></p><p>5104 <xsd:element sql:field="FormatString" name="FormatString" type="xsd:string" minOccurs="0" /></p><p>5105 <xsd:element sql:field="IsAvailableInMDX" name="IsAvailableInMDX" type="xsd:boolean" minOccurs="0" /></p><p>5106 <xsd:element sql:field="SortByColumnID" name="SortByColumnID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5107 <xsd:element sql:field="AttributeHierarchyID" name="AttributeHierarchyID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5108 <xsd:element sql:field="ModifiedTime" name="ModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5109 <xsd:element sql:field="StructureModifiedTime" name="StructureModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>296 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5110 <xsd:element sql:field="RefreshedTime" name="RefreshedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5111 <xsd:element sql:field="SystemFlags" name="SystemFlags" type="xsd:long" minOccurs="0" /></p><p>5112 <xsd:element sql:field="KeepUniqueRows" name="KeepUniqueRows" type="xsd:boolean" minOccurs="0" /></p><p>5113 <xsd:element sql:field="DisplayOrdinal" name="DisplayOrdinal" type="xsd:int" minOccurs="0" /></p><p>5114 <xsd:element sql:field="ErrorMessage" name="ErrorMessage" type="xsd:string" minOccurs="0" /></p><p>5115 <xsd:element sql:field="ImpactType" name="ImpactType" type="xsd:int" /></p><p>5116 </xsd:sequence></p><p>5117 </xsd:complexType></p><p>5118 </xsd:schema></p><p>5119 <row></p><p>5120 <ID>11</ID></p><p>5121 <TableID>10</TableID></p><p>5122 <ExplicitName>RowNumber-2662979B-1795-4F74-8F37-6A1BA8059B61</ExplicitName></p><p>5123 <ExplicitDataType>6</ExplicitDataType></p><p>5124 <InferredDataType>19</InferredDataType></p><p>5125 <IsHidden>true</IsHidden></p><p>5126 <State>1</State></p><p>5127 <IsUnique>true</IsUnique></p><p>5128 <IsKey>true</IsKey></p><p>5129 <IsNullable>false</IsNullable></p><p>5130 <Alignment>1</Alignment></p><p>5131 <TableDetailPosition>-1</TableDetailPosition></p><p>5132 <IsDefaultLabel>false</IsDefaultLabel></p><p>5133 <IsDefaultImage>false</IsDefaultImage></p><p>5134 <SummarizeBy>1</SummarizeBy></p><p>5135 <ColumnStorageID>23</ColumnStorageID></p><p>5136 <Type>3</Type></p><p>297 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5137 <IsAvailableInMDX>true</IsAvailableInMDX></p><p>5138 <AttributeHierarchyID>12</AttributeHierarchyID></p><p>5139 <ModifiedTime>2015-09-30T03:25:33.31</ModifiedTime></p><p>5140 <StructureModifiedTime>2015-09-30T03:25:33.306667</StructureModifiedTime></p><p>5141 <RefreshedTime>1699-12-31T00:00:00</RefreshedTime></p><p>5142 <SystemFlags>0</SystemFlags></p><p>5143 <KeepUniqueRows>false</KeepUniqueRows></p><p>5144 <DisplayOrdinal>0</DisplayOrdinal></p><p>5145 </row></p><p>5146 <row></p><p>5147 <ID>14</ID></p><p>5148 <TableID>10</TableID></p><p>5149 <ExplicitName>x</ExplicitName></p><p>5150 <ExplicitDataType>6</ExplicitDataType></p><p>5151 <InferredDataType>19</InferredDataType></p><p>5152 <IsHidden>false</IsHidden></p><p>5153 <State>1</State></p><p>5154 <IsUnique>false</IsUnique></p><p>5155 <IsKey>false</IsKey></p><p>5156 <IsNullable>true</IsNullable></p><p>5157 <Alignment>1</Alignment></p><p>5158 <TableDetailPosition>-1</TableDetailPosition></p><p>5159 <IsDefaultLabel>false</IsDefaultLabel></p><p>5160 <IsDefaultImage>false</IsDefaultImage></p><p>5161 <SummarizeBy>1</SummarizeBy></p><p>5162 <ColumnStorageID>27</ColumnStorageID></p><p>5163 <Type>1</Type></p><p>5164 <IsAvailableInMDX>true</IsAvailableInMDX></p><p>5165 <AttributeHierarchyID>16</AttributeHierarchyID></p><p>298 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5166 <ModifiedTime>2015-09-30T03:25:33.31</ModifiedTime></p><p>5167 <StructureModifiedTime>2015-09-30T03:25:33.31</StructureModifiedTime></p><p>5168 <RefreshedTime>1699-12-31T00:00:00</RefreshedTime></p><p>5169 <SystemFlags>0</SystemFlags></p><p>5170 <KeepUniqueRows>false</KeepUniqueRows></p><p>5171 <DisplayOrdinal>0</DisplayOrdinal></p><p>5172 </row></p><p>5173 <row></p><p>5174 <ID>15</ID></p><p>5175 <TableID>10</TableID></p><p>5176 <ExplicitName>y</ExplicitName></p><p>5177 <ExplicitDataType>2</ExplicitDataType></p><p>5178 <InferredDataType>19</InferredDataType></p><p>5179 <IsHidden>false</IsHidden></p><p>5180 <State>1</State></p><p>5181 <IsUnique>false</IsUnique></p><p>5182 <IsKey>false</IsKey></p><p>5183 <IsNullable>true</IsNullable></p><p>5184 <Alignment>1</Alignment></p><p>5185 <TableDetailPosition>-1</TableDetailPosition></p><p>5186 <IsDefaultLabel>false</IsDefaultLabel></p><p>5187 <IsDefaultImage>false</IsDefaultImage></p><p>5188 <SummarizeBy>1</SummarizeBy></p><p>5189 <ColumnStorageID>31</ColumnStorageID></p><p>5190 <Type>1</Type></p><p>5191 <IsAvailableInMDX>true</IsAvailableInMDX></p><p>5192 <AttributeHierarchyID>17</AttributeHierarchyID></p><p>5193 <ModifiedTime>2015-09-30T03:25:33.31</ModifiedTime></p><p>5194 <StructureModifiedTime>2015-09-30T03:25:33.31</StructureModifiedTime></p><p>299 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5195 <RefreshedTime>1699-12-31T00:00:00</RefreshedTime></p><p>5196 <SystemFlags>0</SystemFlags></p><p>5197 <KeepUniqueRows>false</KeepUniqueRows></p><p>5198 <DisplayOrdinal>0</DisplayOrdinal></p><p>5199 </row></p><p>5200 </root></p><p>5201 <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla" name="AttributeHierarchy"></p><p>5202 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>5203 <xsd:element name="root"></p><p>5204 <xsd:complexType></p><p>5205 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>5206 <xsd:element name="row" type="row" /></p><p>5207 </xsd:sequence></p><p>5208 </xsd:complexType></p><p>5209 </xsd:element></p><p>5210 <xsd:simpleType name="uuid"></p><p>5211 <xsd:restriction base="xsd:string"></p><p>5212 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>5213 </xsd:restriction></p><p>5214 </xsd:simpleType></p><p>5215 <xsd:complexType name="xmlDocument"></p><p>5216 <xsd:sequence></p><p>5217 <xsd:any /></p><p>5218 </xsd:sequence></p><p>5219 </xsd:complexType></p><p>5220 <xsd:complexType name="row"></p><p>5221 <xsd:sequence></p><p>300 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5222 <xsd:element sql:field="ID" name="ID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5223 <xsd:element sql:field="ColumnID" name="ColumnID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5224 <xsd:element sql:field="State" name="State" type="xsd:long" minOccurs="0" /></p><p>5225 <xsd:element sql:field="AttributeHierarchyStorageID" name="AttributeHierarchyStorageID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5226 <xsd:element sql:field="ModifiedTime" name="ModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5227 <xsd:element sql:field="RefreshedTime" name="RefreshedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5228 <xsd:element sql:field="ImpactType" name="ImpactType" type="xsd:int" /></p><p>5229 </xsd:sequence></p><p>5230 </xsd:complexType></p><p>5231 </xsd:schema></p><p>5232 <row></p><p>5233 <ID>12</ID></p><p>5234 <ColumnID>11</ColumnID></p><p>5235 <State>4</State></p><p>5236 <AttributeHierarchyStorageID>35</AttributeHierarchyStorageID></p><p>5237 <ModifiedTime>2015-09-30T03:25:33.306667</ModifiedTime></p><p>5238 <RefreshedTime>1699-12-31T00:00:00</RefreshedTime></p><p>5239 </row></p><p>5240 <row></p><p>5241 <ID>16</ID></p><p>5242 <ColumnID>14</ColumnID></p><p>5243 <State>4</State></p><p>5244 <AttributeHierarchyStorageID>36</AttributeHierarchyStorageID></p><p>5245 <ModifiedTime>2015-09-30T03:25:33.31</ModifiedTime></p><p>5246 <RefreshedTime>1699-12-31T00:00:00</RefreshedTime></p><p>5247 </row></p><p>5248 <row></p><p>301 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5249 <ID>17</ID></p><p>5250 <ColumnID>15</ColumnID></p><p>5251 <State>4</State></p><p>5252 <AttributeHierarchyStorageID>37</AttributeHierarchyStorageID></p><p>5253 <ModifiedTime>2015-09-30T03:25:33.31</ModifiedTime></p><p>5254 <RefreshedTime>1699-12-31T00:00:00</RefreshedTime></p><p>5255 </row></p><p>5256 </root></p><p>5257 <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msxmla="http://schemas.microsoft.com/analysisservices/2003/xmla" name="Partition"></p><p>5258 <xsd:schema targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"></p><p>5259 <xsd:element name="root"></p><p>5260 <xsd:complexType></p><p>5261 <xsd:sequence minOccurs="0" maxOccurs="unbounded"></p><p>5262 <xsd:element name="row" type="row" /></p><p>5263 </xsd:sequence></p><p>5264 </xsd:complexType></p><p>5265 </xsd:element></p><p>5266 <xsd:simpleType name="uuid"></p><p>5267 <xsd:restriction base="xsd:string"></p><p>5268 <xsd:pattern value="[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z] {4}-[0-9a-zA-Z]{12}" /></p><p>5269 </xsd:restriction></p><p>5270 </xsd:simpleType></p><p>5271 <xsd:complexType name="xmlDocument"></p><p>5272 <xsd:sequence></p><p>5273 <xsd:any /></p><p>5274 </xsd:sequence></p><p>5275 </xsd:complexType></p><p>302 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5276 <xsd:complexType name="row"></p><p>5277 <xsd:sequence></p><p>5278 <xsd:element sql:field="ID" name="ID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5279 <xsd:element sql:field="TableID" name="TableID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5280 <xsd:element sql:field="Name" name="Name" type="xsd:string" minOccurs="0" /></p><p>5281 <xsd:element sql:field="Description" name="Description" type="xsd:string" minOccurs="0" /></p><p>5282 <xsd:element sql:field="DataSourceID" name="DataSourceID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5283 <xsd:element sql:field="QueryDefinition" name="QueryDefinition" type="xsd:string" minOccurs="0" /></p><p>5284 <xsd:element sql:field="State" name="State" type="xsd:long" minOccurs="0" /></p><p>5285 <xsd:element sql:field="Type" name="Type" type="xsd:long" minOccurs="0" /></p><p>5286 <xsd:element sql:field="PartitionStorageID" name="PartitionStorageID" type="xsd:unsignedLong" minOccurs="0" /></p><p>5287 <xsd:element sql:field="Mode" name="Mode" type="xsd:long" minOccurs="0" /></p><p>5288 <xsd:element sql:field="DataView" name="DataView" type="xsd:long" minOccurs="0" /></p><p>5289 <xsd:element sql:field="ModifiedTime" name="ModifiedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5290 <xsd:element sql:field="RefreshedTime" name="RefreshedTime" type="xsd:dateTime" minOccurs="0" /></p><p>5291 <xsd:element sql:field="SystemFlags" name="SystemFlags" type="xsd:long" minOccurs="0" /></p><p>5292 <xsd:element sql:field="ErrorMessage" name="ErrorMessage" type="xsd:string" minOccurs="0" /></p><p>5293 <xsd:element sql:field="ImpactType" name="ImpactType" type="xsd:int" /></p><p>5294 </xsd:sequence></p><p>5295 </xsd:complexType></p><p>5296 </xsd:schema></p><p>5297 <row></p><p>5298 <ID>13</ID></p><p>5299 <TableID>10</TableID></p><p>5300 <Name>partition</Name></p><p>303 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5301 <State>1</State></p><p>5302 <Type>3</Type></p><p>5303 <PartitionStorageID>20</PartitionStorageID></p><p>5304 <Mode>2</Mode></p><p>5305 <DataView>3</DataView></p><p>5306 <ModifiedTime>2015-09-30T03:26:42.27</ModifiedTime></p><p>5307 <RefreshedTime>2015-10-01T02:31:38.766667</RefreshedTime></p><p>5308 <SystemFlags>0</SystemFlags></p><p>5309 </row></p><p>5310 </root></p><p>5311 </AffectedObjects></p><p>5312 </return></p><p>5313 </ExecuteResponse></p><p>5314 </soap:Body></p><p>5315 </soap:Envelope></p><p>5315.1 Refresh Tabular Metadata (JSON) In this example, the client sends a JSON Tabular Refresh Command to the server that automatically refreshes the objects that need to be refreshed.</p><p>5315.1.1 Client Sends Request The client sends the following request.</p><p>5316 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"></p><p>5317 <Header></p><p>5318 <Session xmlns="urn:schemas-microsoft-com:xml-analysis"</p><p>5319 SessionId="34B67555-85B9-46CE-8803-4BEC7D6AEE13" /></p><p>5320 </Header></p><p>5321 <Body></p><p>5322 <Execute xmlns="urn:schemas-microsoft-com:xml-analysis"></p><p>5323 <Command></p><p>5324 <Statement></p><p>5325 {</p><p>304 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5326 "refresh": {</p><p>5327 "type": "automatic",</p><p>5328 "objects": [</p><p>5329 {</p><p>5330 "database": "Adventure Works "</p><p>5331 }</p><p>5332 ]</p><p>5333 }</p><p>5334 }</p><p>5335 </Statement></p><p>5336 </Command></p><p>5337 <Properties></p><p>5338 <PropertyList></p><p>5339 </PropertyList></p><p>5340 </Properties></p><p>5341 </Execute></p><p>5342 </Body> </p><p>5343 </Envelope></p><p>5343.1.1 Server Response The server responds with an empty result.</p><p>5344 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></p><p>5345 <soap:Body></p><p>5346 <ExecuteResponse xmlns="urn:schemas-microsoft-com:xml-analysis"></p><p>5347 <return></p><p>5348 <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"/></p><p>5349 </return></p><p>5350 </ExecuteResponse></p><p>5351 </soap:Body></p><p>5352 </soap:Envelope></p><p>305 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5352.1 CreateOrReplace Tabular Metadata (JSON) In this example, the client sends a JSON Tabular Create Command to the server to create or replace the specified partition and any descendants.</p><p>5352.1.1 Client Sends Request The client sends the following request.</p><p>5353 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"></p><p>5354 <Header></p><p>5355 <Session xmlns="urn:schemas-microsoft-com:xml-analysis"</p><p>5356 SessionId="34B67555-85B9-46CE-8803-4BEC7D6AEE13" /></p><p>5357 </Header></p><p>5358 <Body></p><p>5359 <Execute xmlns="urn:schemas-microsoft-com:xml-analysis"></p><p>5360 <Command></p><p>5361 <Statement></p><p>5362 {</p><p>5363 "createOrReplace": {</p><p>5364 "object": {</p><p>5365 "database": "Adventure Works ",</p><p>5366 "table": "DimDate",</p><p>5367 "partition": "DimDate 2"</p><p>5368 },</p><p>5369 "partition": {</p><p>5370 "name": "DimDate 2",</p><p>5371 "source": {</p><p>5372 "dataSource": "localhost AdventureworksDW",</p><p>5373 "query": [</p><p>5374 "SELECT [dbo].[DimDate].* FROM [dbo].[DimDate]\r",</p><p>5375 "where CalendarYear=2009"</p><p>5376 ]</p><p>5377 }</p><p>5378 }</p><p>306 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5379 }</p><p>5380 }</p><p>5381 </Statement></p><p>5382 </Command></p><p>5383 <Properties></p><p>5384 <PropertyList></p><p>5385 </PropertyList></p><p>5386 </Properties></p><p>5387 </Execute></p><p>5388 </Body> </p><p>5389 </Envelope></p><p>5389.1.1 Server Response The server responds with an empty result.</p><p>5390 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></p><p>5391 <soap:Body></p><p>5392 <ExecuteResponse xmlns="urn:schemas-microsoft-com:xml-analysis"></p><p>5393 <return></p><p>5394 <root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"/></p><p>5395 </return></p><p>5396 </ExecuteResponse></p><p>5397 </soap:Body></p><p>5398 </soap:Envelope></p><p>307 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5399 Security</p><p>5399.1 Security Considerations for Implementers The server could be returning potentially sensitive data in its responses. Therefore, it is strongly recommended that the server be configured to use GSS-API based encryption over TCP or Secure Sockets Layer (SSL) over HTTPS to ensure the integrity of the data and to prevent tampering and unauthorized access. There are two strategies for reducing the impact of denial-of-service (DOS) attacks against the server: § Turn on authentication and deny access to unauthenticated clients. This will allow a user to quickly disable access to rogue client machines. § Make sure no single request takes too much processing time on the server. That will ensure that any attacker must keep up a steady stream of requests to deny access to the server. Therefore, a simple network trace will allow one to identify the offending machine and shut it down. This applies to requests sent by "spoof clients" (for example, a virus emulating a client that might try to pass an unbounded request or a long-running MDX query).</p><p>5399.2 Index of Security Parameters None.</p><p>308 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5400 Appendix A: Product Behavior The information in this specification is applicable to the following Microsoft products or supplemental software. References to product versions include released service packs. § Microsoft SQL Server 2016 Exceptions, if any, are noted below. If a service pack or Quick Fix Engineering (QFE) number appears with the product version, behavior changed in that service pack or QFE. The new behavior also applies to subsequent service packs of the product unless otherwise specified. If a product edition appears with the product version, behavior is different in that product edition. Unless otherwise specified, any statement of optional behavior in this specification that is prescribed using the terms SHOULD or SHOULD NOT implies product behavior in accordance with the SHOULD or SHOULD NOT prescription. Unless otherwise specified, the term MAY implies that the product does not follow the prescription. <1> Section 2.2.5.1: Microsoft implementations do not support the StorageLocation property. <2> Section 2.2.5.1: Microsoft SQL Server Analysis Services requires this value to be a valid Windows culture name, such as "en-US" or "de-DE". <3> Section 2.2.5.2: In Analysis Services, the behavior of the value "Default" is dependent upon the context in which impersonation is used. <4> Section 2.2.5.2: In Analysis Services, the user account is the Windows user account. <5> Section 2.2.5.2: Microsoft implementations do not support the Snapshot value. <6> Section 2.2.5.4: For more information on the use of DefaultDetails, see [MSDN-DEFDETAILS]. <7> Section 2.2.5.12: Analysis Services provides a list of known values; however, other values are possible. <8> Section 2.2.5.22: In Analysis Services, the only supported value is an empty string, which indicates that Windows authentication is used. <9> Section 2.2.5.22: This property is always "Auto" for the Windows identity provider.</p><p>309 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016 5401 Change Tracking No table of changes is available. The document is either new or has had no changes since its last release. Index A Overview 12 Overview (synopsis) 12 Applicability 15 Applicability statement 15 P C Parameters - security index 221 Preconditions 15 Capability negotiation 16 Prerequisites 15 Change tracking 223 Product behavior 222 Common data types 17 Protocol examples CreateOrReplace Tabular Metadata (JSON) 219 E Refresh Tabular Metadata (JSON) 218 Refresh Tabular Metadata (XMLA) 209 Examples CreateOrReplace Tabular Metadata (JSON) example R 219 Refresh Tabular Metadata (JSON) example 218 References Refresh Tabular Metadata (XMLA) example 209 informative 12 Execute 86 normative 11 Relationship to other protocols 15 F S Fields - vendor-extensible 16 Security G implementer considerations 221 parameter index 221 Glossary 10 Security considerations for implementers 221 Server I Abstract data model 53 Higher-layer triggered events 53 Initialization 53 Implementer - security considerations 221 Other local events 208 Index of security parameters 221 Timer events 208 Informative references 12 Timers 53 Introduction 10 Standards assignments 16</p><p>M T Messages Timer events 208 transport 17 Tracking changes 223 Transport 17 N common data types 17 namespaces 17 Namespaces 17 Normative references 11 V</p><p>O Vendor-extensible fields 16 Versioning 16 Other protocols – relationship to 15</p><p>310 / 310 [MS-SSAS-T] - v20160510 SQL Server Analysis Services Tabular Copyright © 2016 Microsoft Corporation Release: May 10, 2016</p>
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages310 Page
-
File Size-