Share via


AggregationCollection.Add Method (Aggregation)

Adds an Aggregation to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As Aggregation _
) As Integer
'Usage
Dim instance As AggregationCollection
Dim item As Aggregation
Dim returnValue As Integer

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

Parameters

Return Value

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