CubeHierarchyCollection.Item[String] CubeHierarchyCollection.Item[String] CubeHierarchyCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets the CubeHierarchy at the specified index from the collection.

Item[String] Item[String] Item[String]

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

Item[Int32] Item[Int32] Item[Int32]

Gets the CubeHierarchy at the specified index from the collection.

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

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

Property Value
Exceptions

Item[String] Item[String] Item[String]

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

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

The identifier of the CubeHierarchy to be returned.

Property Value

The CubeHierarchy specified by the identifier.

Exceptions

hierarchyID is a null reference (Nothing in Visual Basic).

hierarchyID does not exist in the collection.

Applies to