Share via


CubeCollection.Find Method

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

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

Syntax

'Declaration
Public Function Find ( _
    id As String _
) As Cube
'Usage
Dim instance As CubeCollection
Dim id As String
Dim returnValue As Cube

returnValue = instance.Find(id)
public Cube Find(
    string id
)
public:
Cube^ Find(
    String^ id
)
member Find : 
        id:string -> Cube 
public function Find(
    id : String
) : Cube

Parameters

Return Value

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