DatabaseCollection.Move Yöntemi (Database, Int32)
Hareket bir Database içinde yeni bir dizin için koleksiyon.
Ad Alanı: Microsoft.AnalysisServices
Derleme: Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)
Sözdizimi
'Bildirim
Public Sub Move ( _
item As Database, _
toIndex As Integer _
)
'Kullanım
Dim instance As DatabaseCollection
Dim item As Database
Dim toIndex As Integer
instance.Move(item, toIndex)
public void Move(
Database item,
int toIndex
)
public:
void Move(
Database^ item,
int toIndex
)
member Move :
item:Database *
toIndex:int -> unit
public function Move(
item : Database,
toIndex : int
)
Parametreler
- item
Tür: Microsoft.AnalysisServices.Database
Database Taşınacak.
- toIndex
Tür: System.Int32
Taşımak için sıfır tabanlı dizin Database tarafından belirtilen item.
Kural dışı durumlar
Özel durum | Koşul |
---|---|
ArgumentOutOfRangeException | toIndexsıfırdan küçük. - veya - toIndex' e eşit veya daha büyük [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. - veya - itemkoleksiyon tarafından yer alıyor. |
Ayrıca bkz.