2.1.15 THierarchy

In CSDLBI 1.1, CSDLBI 2.0, and CSDLBI 2.5, the THierarchy complex type specifies the content of a hierarchy. A hierarchy exposes the same set of attributes as do other members, such as columns (that are exposed as properties) and measures. Therefore, the THierarchy type is derived from the base TMember type (section 2.1.19).

The THierarchy complex type is defined in the schema as follows.

 <xs:complexType name="THierarchy">
   <xs:complexContent>
     <xs:extension base="bi:TMember">
       <xs:sequence>
         <xs:element name="Documentation" type="bi:TDocumentation"
          minOccurs="0" maxOccurs="1" />
         <xs:element name="Cultures" type="bi:TCultures" minOccurs="0" maxOccurs="1" />
         <xs:element name="Level" type="bi:TLevel" minOccurs="1"
          maxOccurs="unbounded" />
       </xs:sequence>
     <xs:attribute name="Name" type="xs:string" use="required" />
     <xs:attribute name="LineageTag" type="xs:string" use="optional" />
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>

The elements and attributes that are defined by the THierarchy complex type are specified in the following tables.

Element

Description

Documentation

A description of the hierarchy. The contents of this element are defined by the TDocumentation complex type (section 2.1.20).

Cultures<59>

In CSDLBI 2.0 and CSDLBI 2.5, when the PRINT_ALL_TRANSLATIONS (as specified in [MS-SSAS] section 3.1.4.2.2.1.3.61.2) flag is set, the Cultures element is added for translations. The contents of this element are defined by the TCultures complex type (section 2.1.10).

Level

A single level of the hierarchy. The contents of this element are defined by the TLevel complex type (section 2.1.21). The minimum number of Level elements is 1, and there is no upper limit.

Attribute

Description

Name

The name of the hierarchy.

LineageTag<60>

Returns a tag that represents the lineage of the hierarchy.