Export (0) Print
Expand All

HierarchyCollection.IndexOf Method (String)

Gets the index of a Hierarchy with the specified identifier.

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

public int IndexOf(
	string id
)

Parameters

id
Type: System.String
The identifier of a Hierarchy to be located.

Return Value

Type: System.Int32
The zero-based index of the Hierarchy specified by id, if the object is found; otherwise, -1.

Community Additions

ADD
Show:
© 2015 Microsoft