Compartir a través de


Item Propiedad (String)

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

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

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

Excepciones

Excepción Condición
ArgumentNullException

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

ItemNotFoundException

hierarchyID does not exist in the collection.