Share via


DimensionCollection.FindByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Dimension to locate.

Returns

The Dimension with the specified name, if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).

Applies to