ObjectDefinition Element
TOC
Collapse the table of content
Expand the table of content

ObjectDefinition Element (XMLA)

 

Applies To: SQL Server 2016 Preview

Contains one or more Analysis Services Scripting Language (ASSL) elements, used to create or alter objects on an instance of Microsoft SQL Server Analysis Services.

  
<Create> <!-- or Alter -->  
   ...  
   <ObjectDefinition>  
      <!-- One or more ASSL elements -->  
   </ObjectDefinition>  
   ...  
</Create>  

CharacteristicDescription
Data type and lengthNone
Default valueNone
Cardinality0-1: Optional element that can occur once and only once.
RelationshipElement
Parent elementsAlter, Create
Child elementsRequired ASSL elements. One or more ASSL elements, used to define Analysis Services objects. For more information about ASSL, see Properties (XMLA).

The following example creates an empty database named Test Database on an Analysis Services instance.

  
      <Create xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">  
   <ObjectDefinition>  
      <Database xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">  
         <Name>Test Database</Name>  
         <Description>A test database.</Description>  
      </Database>  
   </ObjectDefinition>  
</Create>  

Properties (XMLA)

Community Additions

ADD
Show:
© 2016 Microsoft