Metoda AggregationDesignCollection.Insert (Int32, String)
Tworzy i wstawia AggregationDesign, z identyfikatorem określonego 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, _
name As String _
) As AggregationDesign
'Użycie
Dim instance As AggregationDesignCollection
Dim index As Integer
Dim name As String
Dim returnValue As AggregationDesign
returnValue = instance.Insert(index, name)
public AggregationDesign Insert(
int index,
string name
)
public:
AggregationDesign^ Insert(
int index,
String^ name
)
member Insert :
index:int *
name:string -> AggregationDesign
public function Insert(
index : int,
name : String
) : AggregationDesign
Parametry
- index
Typ: System.Int32
Od zera indeksu, w którym nowy AggregationDesign będą wstawiane.
- name
Typ: System.String
Nazwa AggregationDesign do wstawienia.
Wartość zwracana
Typ: Microsoft.AnalysisServices.AggregationDesign
Nowy, pusty AggregationDesign.
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