AggregationCollection.Insert Method (Int32, String, String)
SQL Server 2008 R2
Creates and inserts an Aggregation, with the specified name and identifier, into the collection at the specified index.
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Parameters
- index
- Type: System.Int32
The zero-based index at which the new Aggregation will be inserted.
- name
- Type: System.String
The name of the Aggregation to be inserted.
- id
- Type: System.String
The identifier of the Aggregation to be inserted.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
