IndexOf Method (CubeHierarchy)
Collapse the table of content
Expand the table of content

CubeHierarchyCollection.IndexOf Method (CubeHierarchy)


Updated: May 16, 2016

Gets the index of a specified CubeHierarchy.

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

public int IndexOf(
	CubeHierarchy item


Type: Microsoft.AnalysisServices.CubeHierarchy

The CubeHierarchy to be returned.

Return Value

Type: System.Int32

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

Return to top
© 2016 Microsoft