CalculationPropertyCollection.Insert Method (Int32, CalculationProperty)
SQL Server 2008
Inserts a CalculationProperty 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 CalculationProperty will be inserted.
- item
- Type: Microsoft.AnalysisServices.CalculationProperty
The CalculationProperty to be inserted.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
