Jaa


CubeHierarchyCollection.Item[] Property

Definition

Overloads

Item[Int32]

Gets the CubeHierarchy, at the specified index, from the collection.

Item[String]

Gets the CubeHierarchy, with the specified HierarchyID, from the collection.

Item[Int32]

Gets the CubeHierarchy, at the specified index, from the collection.

public Microsoft.AnalysisServices.CubeHierarchy this[int index] { get; }
member this.Item(int) : Microsoft.AnalysisServices.CubeHierarchy
Default Public ReadOnly Property Item(index As Integer) As CubeHierarchy

Parameters

index
Int32

The zero-based index of the CubeHierarchy to be returned.

Property Value

The CubeHierarchy at the specified index.

Exceptions

The specified index is not a valid value (less than zero or bigger then the total number of elements).

Applies to

Item[String]

Gets the CubeHierarchy, with the specified HierarchyID, from the collection.

public Microsoft.AnalysisServices.CubeHierarchy this[string hierarchyId] { get; }
member this.Item(string) : Microsoft.AnalysisServices.CubeHierarchy
Default Public ReadOnly Property Item(hierarchyId As String) As CubeHierarchy

Parameters

hierarchyId
String

The HierarchyID of the CubeHierarchy to be returned.

Property Value

The CubeHierarchy with the specified HierarchyID.

Exceptions

The collection doesn't contain a CubeHierarchy with the specified HierarchyID.

Applies to