TranslationCollection Class
Applies To: SQL Server (starting with 2016)
Contains a collection of Translation objects.
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Microsoft.AnalysisServices::ModelComponentCollection
Microsoft.AnalysisServices::TranslationCollection
Microsoft.AnalysisServices::AttributeTranslationCollection
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of ModelComponent objects in the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | DemandLoadingService | Gets the demand loading service for the collection.(Inherited from ModelComponentCollection.) |
![]() | IsFixedSize | Gets a value indicating whether the ModelComponentCollection has a fixed size.(Inherited from ModelComponentCollection.) |
![]() | IsReadOnly | Gets a value indicating whether the ModelComponentCollection is read-only.(Inherited from ModelComponentCollection.) |
![]() | IsSynchronized | Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe).(Inherited from ModelComponentCollection.) |
![]() | Item[Int32] | Gets the Translation at the specified index from the collection. |
![]() | ItemsType | Gets the Type of objects that can be contained by the TranslationCollection.(Overrides ModelComponentCollection::ItemsType.) |
![]() | Parent | Gets the IModelComponent that contains the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Preloadable | Gets a value indicating whether the collection can be preloaded.(Inherited from ModelComponentCollection.) |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
| Name | Description | |
|---|---|---|
![]() | Add(Int32) | Creates and adds a Translation, with the specified language, to the end of the collection. |
![]() | Add(Int32, String^) | Creates and adds a Translation, with the specified language and caption, to the end of the collection. |
![]() | Add(ModelComponent^) | Adds a ModelComponent object to the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Add(ModelComponent^, Boolean) | Adds a ModelComponent object to the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Add(String^, IModelComponent^) | Adds a IModelComponent object to the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Add(String^, IModelComponent^, Boolean) | Adds a IModelComponent object to the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Add(Translation^) | Adds a Translation to the end of the collection. |
![]() | AddNew(String^, String^, Type^) | Adds a new IModelComponent to the collection.(Inherited from ModelComponentCollection.) |
![]() | AddNew(String^, Type^) | Adds a new IModelComponent to the collection.(Inherited from ModelComponentCollection.) |
![]() | CanAdd(ModelComponent^, String^) | Indicates whether the collection can add a ModelComponent.(Inherited from ModelComponentCollection.) |
![]() | ChangeKey(String^, String^) | Changes the specified keys to the collection.(Inherited from ModelComponentCollection.) |
![]() | Clear() | Removes all elements from the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Contains(IModelComponent^) | Determines whether the specified item is in the collection.(Inherited from ModelComponentCollection.) |
![]() | Contains(Int32) | Indicates whether the collection contains a Translation with the specified language. |
![]() | Contains(String^) | Determines whether an item with the specified key is in the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Contains(Translation^) | Indicates whether the collection contains a specified Translation. |
![]() | CopyTo(Array^, Int32) | Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array.(Inherited from ModelComponentCollection.) |
![]() | EnsureLoaded() | Ensures the collection is loaded.(Inherited from ModelComponentCollection.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | FindByLanguage(Int32) | Indicates whether the collection contains a Translation with the specified language. |
![]() | GetByLanguage(Int32) | Indicates whether the collection contains a Translation with the specified language. |
![]() | GetEnumerator() | Returns an enumerator that can iterate through the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetItem(String^, Boolean, String^) | Gets a reference to the specified component.(Inherited from ModelComponentCollection.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(IModelComponent^) | Searches for the specified item and returns its zero-based index within the collection.(Inherited from ModelComponentCollection.) |
![]() | IndexOf(Int32) | Gets the index of a Translation, with the specified language. |
![]() | IndexOf(String^) | Returns the zero-based index of the first occurrence of an IModelComponent that has the specified key in the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | IndexOf(Translation^) | Gets the index of a specified Translation. |
![]() | Insert(IModelComponent^, String^, Int32) | Inserts an IModelComponent in the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Insert(IModelComponent^, String^, Int32, Boolean) | Inserts an IModelComponent in the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Insert(Int32, Int32) | Creates and inserts a Translation, with the specified language, into the collection at the specified index. |
![]() | Insert(Int32, ModelComponent^) | Inserts an ModelComponent in the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | Insert(Int32, Translation^) | Inserts a Translation into the collection at the specified index. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Move(Int32, Int32) | Moves a Translation at the current specified index to a new specified index in the collection. |
![]() | Move(Translation^, Int32) | Moves a Translation to a new index in the collection. |
![]() | Remove(IModelComponent^) | Removes the specified IModelComponent from the collection.(Inherited from ModelComponentCollection.) |
![]() | Remove(Int32) | Removes the Translation, with the specified language, from the collection. |
![]() | Remove(Int32, Boolean) | Removes the Translation, with the specified language, from the collection. |
![]() | Remove(Translation^) | Removes the specified Translation from the collection. |
![]() | Remove(Translation^, Boolean) | Removes the specified Translation from the collection. |
![]() | RemoveAt(Int32) | Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | RemoveAt(Int32, Boolean) | Removes the IModelComponent at the specified index from the ModelComponentCollection.(Inherited from ModelComponentCollection.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | CollectionChanged | Occurs when the collection changes.(Inherited from ModelComponentCollection.) |
![]() | CollectionChanging | Occurs when the collection is changing.(Inherited from ModelComponentCollection.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







