Partilhar via


Método Add (AggregationInstance)

Adds an AggregationInstance to the end of the collection.

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

Sintaxe

'Declaração
Public Function Add ( _
    item As AggregationInstance _
) As Integer
'Uso
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

Valor de retorno

Tipo: System. . :: . .Int32
The zero-based index at which the AggregationInstance has been added.