Sdílet prostřednictvím


CubeDimensionCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the CubeDimension to locate.

Returns

The CubeDimension with the specified Name.

Exceptions

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

Applies to