Partager via


Propriété PerspectiveHierarchyCollection.Item (String)

Gets the PerspectiveHierarchy that has the specified identifier from the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    hierarchyId As String _
) As PerspectiveHierarchy 
    Get
'Utilisation
Dim instance As PerspectiveHierarchyCollection 
Dim hierarchyId As String 
Dim value As PerspectiveHierarchy 

value = instance(hierarchyId)
public PerspectiveHierarchy this[
    string hierarchyId
] { get; }
public:
property PerspectiveHierarchy^ default[String^ hierarchyId] {
    PerspectiveHierarchy^ get (String^ hierarchyId);
}
member Item : PerspectiveHierarchy
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.AnalysisServices.PerspectiveHierarchy
The PerspectiveHierarchy specified by the identifier.

Exceptions

Exception Condition
ArgumentNullException

hierarchyID is a null reference (Nothing in Visual Basic).

ItemNotFoundException

hierarchyID does not exist in the collection.

Voir aussi

Référence

PerspectiveHierarchyCollection Classe

Surcharge Item

Espace de noms Microsoft.AnalysisServices