Partager via


HierarchyCollection.Find Method

Gets the specified Hierarchy from the collection by its name.

Espace de noms: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

Syntaxe

'Déclaration
Public Function Find ( _
    index As String _
) As Hierarchy
public Hierarchy Find (
    string index
)
public:
Hierarchy^ Find (
    String^ index
)
public Hierarchy Find (
    String index
)
public function Find (
    index : String
) : Hierarchy

Paramètres

Notes

If the object is not found, the Find method returns null, whereas the Item property throws an exception.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

HierarchyCollection Class
HierarchyCollection Members
Microsoft.AnalysisServices.AdomdClient Namespace