CubeCollection.GetByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Cube to locate.

Returns

The Cube with the specified Name.

Exceptions

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

Applies to