Metoda TraceCollection.Move (String, Int32)
Przesuwa Trace ma określony identyfikator z określonym indeksem 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 Trace
'Użycie
Dim instance As TraceCollection
Dim id As String
Dim toIndex As Integer
Dim returnValue As Trace
returnValue = instance.Move(id, toIndex)
public Trace Move(
string id,
int toIndex
)
public:
Trace^ Move(
String^ id,
int toIndex
)
member Move :
id:string *
toIndex:int -> Trace
public function Move(
id : String,
toIndex : int
) : Trace
Parametry
- id
Typ: System.String
- toIndex
Typ: System.Int32
Indeks od zera do którego należy przenieść Trace określonych przez id.
Wartość zwracana
Typ: Microsoft.AnalysisServices.Trace
Trace To ismoved.
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 istnieje kolekcja. |
Zobacz także