HierarchyCollection.GetByName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Hierarchy that has the specified name from the collection.
public Microsoft.AnalysisServices.Hierarchy GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.Hierarchy
Public Function GetByName (name As String) As Hierarchy
Parameters
Returns
The Hierarchy with the specified Name.
Exceptions
The collection doesn't contain a Hierarchy with the specified name.