Aracılığıyla paylaş


PartitionCollection.Move Yöntemi (Int32, Int32)

Hareket bir Partition Yeni belirtilen bir dizin için geçerli belirtilen dizin adresindeki koleksiyon.

Ad Alanı:  Microsoft.AnalysisServices
Derleme:  Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)

Sözdizimi

'Bildirim
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As Partition
'Kullanım
Dim instance As PartitionCollection
Dim fromIndex As Integer
Dim toIndex As Integer
Dim returnValue As Partition

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

Parametreler

  • toIndex
    Tür: System.Int32
    Taşımak için sıfır tabanlı dizin Partition tarafından belirtilen fromIndex.

Dönüş Değeri

Tür: Microsoft.AnalysisServices.Partition
Partition Taşınacak.

Kural dışı durumlar

Özel durum Koşul
ArgumentOutOfRangeException

fromIndexsıfırdan küçük.

- veya -

fromIndex' e eşit veya daha büyük [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

- veya -

toIndexsıfırdan küçük.

- veya -

toIndex' e eşit veya daha büyük [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].