Pastaba.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti prisijungti arba pakeisti katalogus.
Prieigai prie šio puslapio reikalingas įgaliojimas. Galite bandyti pakeisti katalogus.
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. |