AggregationInstanceCollection.Add Method (AggregationInstance)
Adds an AggregationInstance to the end of the collection.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Function Add ( _
item As AggregationInstance _
) As Integer
'Usage
Dim instance As AggregationInstanceCollection
Dim item As AggregationInstance
Dim returnValue As Integer
returnValue = instance.Add(item)
public int Add(
AggregationInstance item
)
public:
int Add(
AggregationInstance^ item
)
member Add :
item:AggregationInstance -> int
public function Add(
item : AggregationInstance
) : int
Parameters
- item
Type: Microsoft.AnalysisServices.AggregationInstance
The AggregationInstance to be added.
Return Value
Type: System.Int32
The zero-based index at which the AggregationInstance has been added.