Share via


DimensionCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Dimension to locate.

Returns

The Dimension with the specified Name.

Exceptions

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

Applies to