HierarchyCollection.Find Method
Gets the Hierarchy, with the specified identifier, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Find ( _
id As String _
) As Hierarchy
'Usage
Dim instance As HierarchyCollection
Dim id As String
Dim returnValue As Hierarchy
returnValue = instance.Find(id)
public Hierarchy Find(
string id
)
public:
Hierarchy^ Find(
String^ id
)
member Find :
id:string -> Hierarchy
public function Find(
id : String
) : Hierarchy
Parameters
- id
Type: System.String
The identifier of the Hierarchy to be returned.
Return Value
Type: Microsoft.AnalysisServices.Hierarchy
The Hierarchy, if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).