Share via


CubeCollection.Add Method (Cube)

Adds a Cube to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Cube _
) As Integer
'Usage
Dim instance As CubeCollection 
Dim item As Cube 
Dim returnValue As Integer 

returnValue = instance.Add(item)
public int Add(
    Cube item
)
public:
int Add(
    Cube^ item
)
member Add : 
        item:Cube -> int
public function Add(
    item : Cube
) : int

Parameters

Return Value

Type: System.Int32
The zero-based index at which the Cube has been added.

See Also

Reference

CubeCollection Class

Add Overload

Microsoft.AnalysisServices Namespace