Share via


AggregationInstanceMeasureCollection.Add Method (AggregationInstanceMeasure)

Adds the specified AggregationInstanceMeasure to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As AggregationInstanceMeasure _
) As Integer
'Usage
Dim instance As AggregationInstanceMeasureCollection
Dim item As AggregationInstanceMeasure
Dim returnValue As Integer

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

Return Value

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