Share via


PerspectiveHierarchyCollection.Find Method

Gets the PerspectiveHierarchy that has the specified identifier from the collection.

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

Syntax

'Declaration
Public Function Find ( _
    hierarchyId As String _
) As PerspectiveHierarchy
'Usage
Dim instance As PerspectiveHierarchyCollection
Dim hierarchyId As String
Dim returnValue As PerspectiveHierarchy

returnValue = instance.Find(hierarchyId)
public PerspectiveHierarchy Find(
    string hierarchyId
)
public:
PerspectiveHierarchy^ Find(
    String^ hierarchyId
)
member Find : 
        hierarchyId:string -> PerspectiveHierarchy 
public function Find(
    hierarchyId : String
) : PerspectiveHierarchy

Parameters

Return Value

Type: Microsoft.AnalysisServices.PerspectiveHierarchy
The PerspectiveHierarchy if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).