HierarchyCollection.IndexOf Method (Hierarchy)

 

Updated: May 24, 2016

Gets the index of a specified Hierarchy.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public int IndexOf(
	Hierarchy item
)

Parameters

item
Type: Microsoft.AnalysisServices.Hierarchy

The Hierarchy to be returned.

Return Value

Type: System.Int32

The zero-based index of the Hierarchy, if the object is found; otherwise, -1.

Return to top
Show: