Share via


CubeCollection.FindByName(String) Method

Definition

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

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

Parameters

name
String

The name of the Cube to locate.

Returns

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

Applies to