Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets the CubeHierarchy, with 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 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
- hierarchyId
Type : System.String
The identifier of the CubeHierarchy to be returned.
Valeur de 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. |