Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the Hierarchy, with the specified name, from the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function GetByName ( _
name As String _
) As Hierarchy
'Usage
Dim instance As HierarchyCollection
Dim name As String
Dim returnValue As Hierarchy
returnValue = instance.GetByName(name)
public Hierarchy GetByName(
string name
)
public:
Hierarchy^ GetByName(
String^ name
)
member GetByName :
name:string -> Hierarchy
public function GetByName(
name : String
) : Hierarchy
Parameters
- name
Type: System.String
The name of the Hierarchy to be returned.
Return Value
Type: Microsoft.AnalysisServices.Hierarchy
The Hierarchy with the name specified in name.
Exceptions
| Exception | Condition |
|---|---|
| ItemNotFoundException | name is not contained by the collection. |