Udostępnij przez


Metoda AggregationDesignCollection.Move (Int32, Int32)

Przesuwa AggregationDesign, na bieżący określonego indeksu do nowego indeksu określone kolekcja.

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

Składnia

'Deklaracja
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As AggregationDesign
'Użycie
Dim instance As AggregationDesignCollection
Dim fromIndex As Integer
Dim toIndex As Integer
Dim returnValue As AggregationDesign

returnValue = instance.Move(fromIndex, _
    toIndex)
public AggregationDesign Move(
    int fromIndex,
    int toIndex
)
public:
AggregationDesign^ Move(
    int fromIndex, 
    int toIndex
)
member Move : 
        fromIndex:int * 
        toIndex:int -> AggregationDesign 
public function Move(
    fromIndex : int, 
    toIndex : int
) : AggregationDesign

Parametry

Wartość zwracana

Typ: Microsoft.AnalysisServices.AggregationDesign
AggregationDesign Mają być przeniesione.

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

fromIndexjest mniejszy od zera.

- lub -

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

- lub -

toIndexjest mniejszy od zera.

- lub -

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