Udostępnij za pośrednictwem


Metoda AggregationInstanceCollection.Insert (Int32)

Tworzy i wstawia AggregationInstance do kolekcja pod określonym indeksem.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Function Insert ( _
    index As Integer _
) As AggregationInstance
'Użycie
Dim instance As AggregationInstanceCollection
Dim index As Integer
Dim returnValue As AggregationInstance

returnValue = instance.Insert(index)
public AggregationInstance Insert(
    int index
)
public:
AggregationInstance^ Insert(
    int index
)
member Insert : 
        index:int -> AggregationInstance 
public function Insert(
    index : int
) : AggregationInstance

Parametry

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

indexjest mniejszy od zera.

- lub -

indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].