CubeHierarchyCollection.Find(String) Method

Definition

Gets the CubeHierarchy that has the specified HierarchyID from the collection.

public Microsoft.AnalysisServices.CubeHierarchy Find (string hierarchyId);
member this.Find : string -> Microsoft.AnalysisServices.CubeHierarchy
Public Function Find (hierarchyId As String) As CubeHierarchy

Parameters

hierarchyId
String

The HierarchyID of the CubeHierarchy to locate.

Returns

The CubeHierarchy with the specified HierarchyID, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to