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