Metoda RestoreLocationCollection.Insert
Wstawia RestoreLocation do kolekcja pod określonym indeksem.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Sub Insert ( _
index As Integer, _
item As RestoreLocation _
)
'Użycie
Dim instance As RestoreLocationCollection
Dim index As Integer
Dim item As RestoreLocation
instance.Insert(index, item)
public void Insert(
int index,
RestoreLocation item
)
public:
void Insert(
int index,
RestoreLocation^ item
)
member Insert :
index:int *
item:RestoreLocation -> unit
public function Insert(
index : int,
item : RestoreLocation
)
Parametry
- index
Typ: System.Int32
Od zera indeksu, w którym chcesz wstawić nowy RestoreLocation.
- item
Typ: Microsoft.AnalysisServices.RestoreLocation
RestoreLocation Do wstawiania.
Wyjątki
Wyjątek | Warunek |
---|---|
ArgumentOutOfRangeException | indexjest mniejszy od zera. - lub - indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |