Share via


CubeCollection.Add Method (String)

Creates and adds a Cube, with the specified identifier, to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    name As String _
) As Cube
'Usage
Dim instance As CubeCollection 
Dim name As String 
Dim returnValue As Cube 

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

Parameters

Return Value

Type: Microsoft.AnalysisServices.Cube
The zero-based index at which the Cube has been added.

See Also

Reference

CubeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace