Partager via


Item propriété (String)

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

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

Syntaxe

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

value = instance(hierarchyId)
public CubeHierarchy this[
    string hierarchyId
] { get; }
public:
property CubeHierarchy^ default[String^ hierarchyId] {
    CubeHierarchy^ get (String^ hierarchyId);
}
member Item : CubeHierarchy
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 la propriété

Type : Microsoft.AnalysisServices. . :: . .CubeHierarchy
The CubeHierarchy 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.