Skip to content

Latest commit

 

History

History
90 lines (78 loc) · 4.63 KB

File metadata and controls

90 lines (78 loc) · 4.63 KB
title Attribute Element (ASSL) | Microsoft Docs
ms.custom
ms.date 03/06/2017
ms.prod sql-server-2016
ms.reviewer
ms.suite
ms.technology
analysis-services
docset-sql-devref
ms.tgt_pltfrm
ms.topic reference
apiname
Attribute Element
apilocation
apitype Schema
applies_to
SQL Server 2016 Preview
f1_keywords
Attribute
helpviewer_keywords
Attribute element
ms.assetid 079ec9f8-a314-4e3c-821a-b42c65cc7363
caps.latest.revision 36
author Minewiskan
ms.author owend
manager erikre

Attribute Element (ASSL)

Contains the description of an attribute.

Syntax

  
<Attributes>  
   <Attribute xsi:type="AggregationAttribute">...</Attribute> <!-- ancestor: AggregationDimension -->  
   <!-- or -->  
   <Attribute xsi:type="AggregationDesignAttribute">...</Attribute> <!-- ancestor: AggregationDesignDimension -->  
   <!-- or -->  
   <Attribute xsi:type="AggregationInstanceAttribute">...</Attribute> <!-- ancestor: AggregationInstanceCubeDimension -->  
   <!-- or -->  
   <Attribute xsi:type="CubeAttribute">...</Attribute> <!--ancestor:  CubeDimension -->  
   <!-- or -->  
   <Attribute xsi:type="DimensionAttribute">...</Attribute> <!-- ancestor: Dimension -->  
   <!-- or -->  
   <Attribute xsi:type="MeasureGroupAttribute">...</Attribute> <!-- ancestor: RegularMeasureGroupDimension -->  
   <!-- or -->  
   <Attribute xsi:type="PerspectiveAttribute">...</Attribute> <!-- ancestor: PerspectiveDimension -->  
   <!-- or -->  
   <Attribute>  
      <AttributeID>...</AttributeID>  
   </Attribute> <!-- ancestor: RelationshipEnd -->  
</Attributes>  

Element Characteristics

Characteristic Description
Data type and length See the table below.
Default value None
Cardinality 0-1: Optional element that can occur once and only once.
Ancestor or Parent Data Type
AggregationDesignDimension AggregationDesignAttribute
AggregationDimension AggregationAttribute
AggregationInstanceCubeDimension AggregationInstanceAttribute
CubeDimension CubeAttribute
Dimension DimensionAttribute
RegularMeasureGroupDimension MeasureGroupAttribute
PerspectiveDimension PerspectiveAttribute
RelationshipEnd <Attribute>
<AttributeID>...</AttributeID></Attribute>

Element Relationships

Relationship Element
Parent elements Attributes
Child elements None

Remarks

The corresponding elements in the Analysis Management Objects (AMO) object model are xref:Microsoft.AnalysisServices.AggregationDesignAttribute, xref:Microsoft.AnalysisServices.AggregationAttribute, xref:Microsoft.AnalysisServices.CubeAttribute, xref:Microsoft.AnalysisServices.DimensionAttribute, xref:Microsoft.AnalysisServices.MeasureGroupAttribute, and xref:Microsoft.AnalysisServices.PerspectiveAttribute.

See Also

Objects (ASSL)