Partager via


LevelCollection.GetByName(String) Method

Definition

Gets the Level that has the specified name from the collection.

public Microsoft.AnalysisServices.Level GetByName (string name);
member this.GetByName : string -> Microsoft.AnalysisServices.Level
Public Function GetByName (name As String) As Level

Parameters

name
String

The name of the Level to locate.

Returns

The Level with the specified Name.

Exceptions

The collection doesn't contain a Level with the specified name.

Applies to