Share via


AggregationDimensionCollection.Add Method (AggregationDimension)

Adds an AggregationDimension to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As AggregationDimension _
) As Integer
'Usage
Dim instance As AggregationDimensionCollection
Dim item As AggregationDimension
Dim returnValue As Integer

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

Return Value

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