CubeCollection.FindByName Method (String)

 

Applies To: SQL Server 2016 Preview

Gets the Cube, with the specified name, from the collection.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

public Cube FindByName(
    string name
)
public:
Cube^ FindByName(
    String^ name
)
member FindByName : 
        name:string -> Cube
Public Function FindByName (
    name As String
) As Cube

Parameters

Return Value

Type: Microsoft.AnalysisServices.Cube

The Cube if contained in the collection; otherwise, a null reference (Nothing in Visual Basic).

See Also

CubeCollection Class
Microsoft.AnalysisServices Namespace

Return to top