AggregationDesignCollection.Insert Method (Int32, AggregationDesign)
Inserts an AggregationDesign into the collection at the specified index.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
item As AggregationDesign _
)
'Usage
Dim instance As AggregationDesignCollection
Dim index As Integer
Dim item As AggregationDesign
instance.Insert(index, item)
public void Insert(
int index,
AggregationDesign item
)
public:
void Insert(
int index,
AggregationDesign^ item
)
member Insert :
index:int *
item:AggregationDesign -> unit
public function Insert(
index : int,
item : AggregationDesign
)
Parameters
- index
Type: System.Int32
The zero-based index at which the new AggregationDesign will be inserted.
- item
Type: Microsoft.AnalysisServices.AggregationDesign
The AggregationDesign to be inserted.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |