Udostępnij za pośrednictwem


CubeAttribute Data Type (ASSL)

Defines a primitive data type that represents an attribute associated with a Cube element.

Syntax

<CubeAttribute>
   <AttributeID>...</AttributeID>
   <AggregationUsage>...</AggregationUsage>
   <AttributeHierarchyOptimizedState>...</AttributeHierarchyOptimizedState>
   <AttributeHierarchyEnabled>...</AttributeHierarchyEnabled>
   <AttributeHierarchyVisible>...</AttributeHierarchyVisible>
      <Annotations>...</Annotations>
</CubeAttribute>

Data Type Characteristics

Characteristic Description

Base data types

None

Derived data types

None

Data Type Relationships

Relationship Element

Parent elements

None

Child elements

AggregationUsage, Annotations, AttributeHierarchyEnabled, AttributeHierarchyOptimizedState, AttributeHierarchyVisible, AttributeID

Derived elements

Attribute (Attributes collection of CubeDimension)

Remarks

Attributes in the CubeDimension element that are not explicitly included in the Attributes collection become part of the collection and have default values assigned to them. After being added to the collection, these attributes will be returned by the Discover method.

The AggregationUsage element controls how Microsoft SQL Server 2005 Analysis Services (SSAS) automatically designs aggregations for the attribute. The AggregationUsage element does not constrain any aggregations that are manually created for the cube.

The corresponding element in the Analysis Management Objects (AMO) object model is CubeAttribute.

See Also

Reference

Analysis Services Scripting Language XML Data Types (ASSL)

Help and Information

Getting SQL Server 2005 Assistance