Partilhar via


Método Find

Gets the CubeHierarchy, with the specified identifier, from the collection.

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

Sintaxe

'Declaração
Public Function Find ( _
    hierarchyId As String _
) As CubeHierarchy
'Uso
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

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices. . :: . .CubeHierarchy
The CubeHierarchy if it is contained in the collection; otherwise, a null reference (Nothing in Visual Basic).