CacheHierarchies class

Office 2013 and later

Defines the CacheHierarchies Class. When the object is serialized out as xml, its qualified name is x:cacheHierarchies.

Namespace:  DocumentFormat.OpenXml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

cacheHierarchies (PivotCache Hierarchies)

Represents the collection of OLAP hierarchies in the PivotCache.

[Example:

<cacheHierarchies count="2">
  <cacheHierarchy uniqueName="[Account].[Account]" caption="Account"     attribute="1" keyAttribute="1"     defaultMemberUniqueName="[Account].[Account].[All Accounts]"     allUniqueName="[Account].[Account].[All Accounts]"     dimensionUniqueName="[Account]" count="0"/>
  <cacheHierarchy uniqueName="[Account].[Account Number]" caption="Account    Number" attribute="1" defaultMemberUniqueName="[Account].[Account     Number].[All Accounts]" allUniqueName="[Account].[Account Number].[All     Accounts]" dimensionUniqueName="[Account]" count="0"/>
</cacheHierarchies>

end example]

Parent Elements

pivotCacheDefinition (§18.10.1.67)

Child Elements

Subclause

cacheHierarchy (PivotCache Hierarchy)

§18.10.1.6

Attributes

Description

count (Hierarchy Count)

Specifies the number of OLAP hierarchies in the cache.

The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_CacheHierarchies) is located in §A.2. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: