Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the PerspectiveHierarchy that has the specified identifier from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
hierarchyId As String _
) As PerspectiveHierarchy
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- hierarchyId
Type: System.String
The identifier of the PerspectiveHierarchy to return.
Property Value
Type: Microsoft.AnalysisServices.PerspectiveHierarchy
The PerspectiveHierarchy 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. |