ModelRoleCollection Class
Updated: May 24, 2016
Collection of ModelRole objects.
Assembly: Microsoft.AnalysisServices.Tabular (in Microsoft.AnalysisServices.Tabular.dll)
Microsoft.AnalysisServices.Tabular::MetadataObjectCollection<T, P>
Microsoft.AnalysisServices.Tabular::NamedMetadataObjectCollection<T, P>
Microsoft.AnalysisServices.Tabular::ModelRoleCollection
| Name | Description | |
|---|---|---|
![]() | Count | Gets a count of the objects in the collection. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | IsReadOnly | Gets a value that indicates whether the collection is read-only. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Item[Int32] | Gets the object at the specified index position in the collection. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Item[String^] | Gets the index in the collection of the named metadata object with the specified name. (Inherited from NamedMetadataObjectCollection<T, P>.) |
![]() | Parent | Gets or sets the parent object of the MetadataObject collection. (Inherited from MetadataObjectCollection<T, P>.) |
| Name | Description | |
|---|---|---|
![]() | Add(T) | Add by Type. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Clear() | Empties the collection of all objects. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Contains(T) | A Boolean specifying whether the collection contains objects by Type. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Contains(String^) | A Boolean that determines whether objects in the collection are contained by Name. (Inherited from NamedMetadataObjectCollection<T, P>.) |
![]() | ContainsName(String^) | A Boolean that determines whether the index contains the specified object name. (Inherited from NamedMetadataObjectCollection<T, P>.) |
![]() | CopyTo(array<T>^, Int32) | Copies a collection to another object in the Model tree. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Find(String^) | Finds an object in the collection by Name. (Inherited from NamedMetadataObjectCollection<T, P>.) |
![]() | GetEnumerator() | Enumerates the items in a collection. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetNewName() | Gets a unique new name for the object. (Inherited from NamedMetadataObjectCollection<T, P>.) |
![]() | GetNewName(String^) | Gets a unique new name for the object with the specified name prefix. (Inherited from NamedMetadataObjectCollection<T, P>.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(T) | Index lookup by Type. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Remove(T) | Indicates whether the object is removed in the collection. (Inherited from MetadataObjectCollection<T, P>.) |
![]() | Remove(String^) | Removes an object from a MetadataObject collection by its name. (Inherited from NamedMetadataObjectCollection<T, P>.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection<T>::Clear() | Removes all items from the MetadataObjectCollection<T, P>.(Inherited from MetadataObjectCollection<T, P>.) |
![]() ![]() | ICollection<T>::CopyTo(array<T>^, Int32) | Copies the MetadataObjectCollection<T, P> to an existing one-dimensional Array, starting at the specified array index.(Inherited from MetadataObjectCollection<T, P>.) |
![]() ![]() | ICollection<T>::Remove(T) | Removes the first occurrence of a specific object from the collection.(Inherited from MetadataObjectCollection<T, P>.) |
![]() ![]() | IEnumerable<T>::GetEnumerator() | Returns an enumerator that iterates through a collection.(Inherited from MetadataObjectCollection<T, P>.) |
![]() ![]() | IEnumerable::GetEnumerator() | Retrieves an enumerator that iterates through the collection.(Inherited from MetadataObjectCollection<T, P>.) |
![]() ![]() | ICollection<T>::Count | Gets a count of the objects in the collection.(Inherited from MetadataObjectCollection<T, P>.) |
![]() ![]() | ICollection<T>::IsReadOnly | Gets a value that indicates whether the collection is read only.(Inherited from MetadataObjectCollection<T, P>.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




