CacheHierarchies Class

PivotCache Hierarchies.When the object is serialized out as xml, its qualified name is x:cacheHierarchies.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.CacheHierarchies

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(CacheHierarchy))> _
Public Class CacheHierarchies _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As CacheHierarchies
[ChildElementInfoAttribute(typeof(CacheHierarchy))]
public class CacheHierarchies : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • CacheHierarchy <x:cacheHierarchy>

[ISO/IEC 29500-1 1st Edition]

18.10.1.5 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.

Thread Safety

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

See Also

Reference

CacheHierarchies Members

DocumentFormat.OpenXml.Spreadsheet Namespace