Compartilhar via


Propriedade do RDL CubeHierarchyCollection.Item (String)

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

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    hierarchyId As String _
) As CubeHierarchy 
    Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.AnalysisServices.CubeHierarchy
The CubeHierarchy specified by the identifier.

Exceções

Exceção Condição
ArgumentNullException

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

ItemNotFoundException

hierarchyID does not exist in the collection.

Consulte também

Referência

CubeHierarchyCollection Classe

Sobrecarregado Item

Namespace Microsoft.AnalysisServices