CubeHierarchyCollection.Find Method
Gets the CubeHierarchy, with 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 CubeHierarchy
'Usage
Dim instance As CubeHierarchyCollection
Dim hierarchyId As String
Dim returnValue As CubeHierarchy
returnValue = instance.Find(hierarchyId)
public CubeHierarchy Find(
string hierarchyId
)
public:
CubeHierarchy^ Find(
String^ hierarchyId
)
member Find :
hierarchyId:string -> CubeHierarchy
public function Find(
hierarchyId : String
) : CubeHierarchy
Parameters
- hierarchyId
Type: System.String
The identifier of the CubeHierarchy to be returned.
Return Value
Type: Microsoft.AnalysisServices.CubeHierarchy
The CubeHierarchy if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).