PerspectiveHierarchyCollection.Item Propiedad (String)
Gets the PerspectiveHierarchy that has 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 PerspectiveHierarchy
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- hierarchyId
Tipo: System.String
The identifier of the PerspectiveHierarchy to return.
Valor de la propiedad
Tipo: Microsoft.AnalysisServices.PerspectiveHierarchy
The PerspectiveHierarchy 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. |