Metoda TraceCollection.Insert (Int32)
Tworzy i wstawia Trace do kolekcja pod określonym indeksem.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Function Insert ( _
index As Integer _
) As Trace
'Użycie
Dim instance As TraceCollection
Dim index As Integer
Dim returnValue As Trace
returnValue = instance.Insert(index)
public Trace Insert(
int index
)
public:
Trace^ Insert(
int index
)
member Insert :
index:int -> Trace
public function Insert(
index : int
) : Trace
Parametry
- index
Typ: System.Int32
Od zera indeksu, w którym chcesz wstawić nowy Trace.
Wartość zwracana
Typ: Microsoft.AnalysisServices.Trace
Nowy, pusty Trace.
Wyjątki
| Wyjątek | Warunek |
|---|---|
| ArgumentOutOfRangeException | indexjest mniejszy od zera. - lub - indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
Zobacz także