Aracılığıyla paylaş


CubePermissionCollection.Move Yöntemi (Int32, Int32)

Hareket bir CubePermission 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 CubePermission
'Kullanım
Dim instance As CubePermissionCollection
Dim fromIndex As Integer
Dim toIndex As Integer
Dim returnValue As CubePermission

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

Parametreler

Dönüş Değeri

Tür: Microsoft.AnalysisServices.CubePermission
CubePermission 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].