Condividi tramite


Metodo HierarchyCollection.FindByName

Gets the Hierarchy, with the specified name, from the collection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function FindByName ( _
    name As String _
) As Hierarchy
'Utilizzo
Dim instance As HierarchyCollection 
Dim name As String 
Dim returnValue As Hierarchy 

returnValue = instance.FindByName(name)
public Hierarchy FindByName(
    string name
)
public:
Hierarchy^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> Hierarchy
public function FindByName(
    name : String
) : Hierarchy

Parametri

Valore restituito

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

Vedere anche

Riferimento

HierarchyCollection Classe

Spazio dei nomi Microsoft.AnalysisServices