2.2.4.2.2.9.2 CubeAttribute

The CubeAttribute complex type defines details for an attribute on a cube.

            
   <xsd:complexType name="CubeAttribute">
     <xsd:all>
       <xsd:element name="AttributeID" type="xsd:string"/>
       <xsd:element name="AggregationUsage"  minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="Full" />
             <xsd:enumeration value="None" />
             <xsd:enumeration value="Unrestricted" />
             <xsd:enumeration value="Default" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="AttributeHierarchyOptimizedState" minOccurs="0">
         <xsd:simpleType>
           <xsd:restriction base="xsd:string">
             <xsd:enumeration value="FullyOptimized" />
             <xsd:enumeration value="NotOptimized" />
           </xsd:restriction>
         </xsd:simpleType>
       </xsd:element>
       <xsd:element name="AttributeHierarchyEnabled" type="xsd:boolean" minOccurs="0"/>
       <xsd:element name="AttributeHierarchyVisible" type="xsd:boolean" minOccurs="0"/>
       <xsd:element name="Annotations" minOccurs="0">
         <xsd:complexType>
           <xsd:sequence>
             <xsd:element name="Annotation"  type="Annotation" minOccurs="0"
                          maxOccurs="unbounded"/>
           </xsd:sequence>
         </xsd:complexType>
       </xsd:element>
     </xsd:all>
   </xsd:complexType>

Element

Read-Only

Default value

Description

AttributeID

[Required]

The ID of the attribute that is pointed to by this object.

AggregationUsage

"Default"

A string that specifies how aggregations are to be designed for this attribute. Enumeration values are the same as for AllMemberAggregationUsage.

AttributeHierarchyOptimizedState

"FullyOptimized"

Specifies the optimization for the attribute hierarchy.

AttributeHierarchyEnabled

True

When true, this Boolean determines that an attribute hierarchy is enabled for this attribute. This value is ignored if AttributeHierarchyEnabled=False on the DimensionAttribute.

AttributeHierarchyVisible

True

When true, this Boolean controls the visibility of this CubeAttribute. This value is ignored if the AttributeHierarchyVisible=False on the DimensionAttribute that is pointed to by AttributeID.

Annotations

Empty

A collection of Annotation objects.