TranslationCollection.Insert Method (Int32, Int32)
SQL Server 2008 R2
Creates and inserts a Translation, with the specified language, 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 Translation will be inserted.
- language
- Type: System.Int32
The language of the Translation to be inserted.
Return Value
Type: Microsoft.AnalysisServices.TranslationThe Translation inserted into the collection.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
