PerspectiveDimensionCollection.Insert Method (Int32, String)
SQL Server 2012
Creates and inserts a PerspectiveDimension, with the specified identifier, into the collection at the specified index.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Parameters
- index
- Type: System.Int32
The zero-based index at which to insert the new PerspectiveDimension.
- cubeDimensionId
- Type: System.String
The identifier of the PerspectiveDimension to insert.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
