Metoda AccountCollection.Move (String, Int32)
Przesuwa Account, identyfikatorem określonego, określony indeks kolekcja.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function Move ( _
accountType As String, _
toIndex As Integer _
) As Account
'Użycie
Dim instance As AccountCollection
Dim accountType As String
Dim toIndex As Integer
Dim returnValue As Account
returnValue = instance.Move(accountType, _
toIndex)
public Account Move(
string accountType,
int toIndex
)
public:
Account^ Move(
String^ accountType,
int toIndex
)
member Move :
accountType:string *
toIndex:int -> Account
public function Move(
accountType : String,
toIndex : int
) : Account
Parametry
- accountType
Typ: System.String
Identyfikator Account mają być przeniesione.
- toIndex
Typ: System.Int32
Indeks od zera do którego należy przenieść Account określonych przez accountType.
Wartość zwracana
Typ: Microsoft.AnalysisServices.Account
Account 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 - accountTypenie jest zawarty kolekcja. |
Zobacz także