Delen via


RoleCollection Members

Contains a collection of Role objects. This class cannot be inherited.

The following tables list the members exposed by the RoleCollection type.

Public Properties

(see also Protected Properties )

  Name Description
ms173906.pubproperty(en-US,SQL.90).gif Count  Gets the number of ModelComponent objects in the ModelComponentCollection. (inherited from ModelComponentCollection)
ms173906.pubproperty(en-US,SQL.90).gif IsFixedSize  Gets a value indicating whether the ModelComponentCollection has a fixed size. (inherited from ModelComponentCollection)
ms173906.pubproperty(en-US,SQL.90).gif IsReadOnly  Gets a value indicating whether the ModelComponentCollection is read-only. (inherited from ModelComponentCollection)
ms173906.pubproperty(en-US,SQL.90).gif IsSynchronized  Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (inherited from ModelComponentCollection)
ms173906.pubproperty(en-US,SQL.90).gif Item Overloaded. Gets the specified Role from the collection.
ms173906.pubproperty(en-US,SQL.90).gif Parent  Gets the IModelComponent that contains the ModelComponentCollection. (inherited from ModelComponentCollection)
ms173906.pubproperty(en-US,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the ModelComponentCollection. (inherited from ModelComponentCollection)

Top

Protected Properties

  Name Description
ms173906.protproperty(en-US,SQL.90).gif DemandLoadingService  (inherited from ModelComponentCollection )
ms173906.protproperty(en-US,SQL.90).gif ItemsType  Gets the Type of objects that can be contained by the ModelComponentCollection. (inherited from ModelComponentCollection)
ms173906.protproperty(en-US,SQL.90).gif Preloadable  Gets a value indicating whether the ModelComponentCollection can be preloaded. (inherited from ModelComponentCollection)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms173906.pubmethod(en-US,SQL.90).gif Add Overloaded. Creates and adds a Role to the collection.
ms173906.pubmethod(en-US,SQL.90).gif CanAdd  (inherited from NamedComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif Clear  Removes all elements from the ModelComponentCollection. (inherited from ModelComponentCollection)
ms173906.pubmethod(en-US,SQL.90).gif Contains Overloaded.  
ms173906.pubmethod(en-US,SQL.90).gif ContainsName  (inherited from NamedComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif CopyTo  (inherited from ModelComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms173906.pubmethod(en-US,SQL.90).gif Find Gets the Role that has the specified identifier from the collection.
ms173906.pubmethod(en-US,SQL.90).gif FindByName Gets the Role that has the specified name from the collection.
ms173906.pubmethod(en-US,SQL.90).gif GetByName Gets the Role that has the specified name from the collection.
ms173906.pubmethod(en-US,SQL.90).gif GetEnumerator  Returns an enumerator that can iterate through the ModelComponentCollection. (inherited from ModelComponentCollection)
ms173906.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms173906.pubmethod(en-US,SQL.90).gif GetNewID  Overloaded. (inherited from NamedComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif GetNewName  Overloaded. (inherited from NamedComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms173906.pubmethod(en-US,SQL.90).gif IndexOf Overloaded.  
ms173906.pubmethod(en-US,SQL.90).gif IndexOfName  (inherited from NamedComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif Insert Overloaded. Inserts a Role into the collection.
ms173906.pubmethod(en-US,SQL.90).gif IsValidID  Overloaded. (inherited from NamedComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif IsValidName  Overloaded. (inherited from NamedComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif Move Overloaded. Moves a Role to a new index in the collection.
ms173906.pubmethod(en-US,SQL.90).gifms173906.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms173906.pubmethod(en-US,SQL.90).gif Remove Overloaded.  
ms173906.pubmethod(en-US,SQL.90).gif RemoveAt  Overloaded. (inherited from ModelComponentCollection )
ms173906.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms173906.protmethod(en-US,SQL.90).gif Add  Overloaded. (inherited from MajorObjectCollection )
ms173906.protmethod(en-US,SQL.90).gif AddNew  Overloaded. (inherited from ModelComponentCollection )
ms173906.protmethod(en-US,SQL.90).gif ChangeKey  (inherited from ModelComponentCollection )
ms173906.protmethod(en-US,SQL.90).gif Contains Overloaded.  
ms173906.protmethod(en-US,SQL.90).gif EnsureLoaded  (inherited from ModelComponentCollection )
ms173906.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms173906.protmethod(en-US,SQL.90).gif GetItem  (inherited from ModelComponentCollection )
ms173906.protmethod(en-US,SQL.90).gif IndexOf Overloaded.  
ms173906.protmethod(en-US,SQL.90).gif Insert  Overloaded. (inherited from MajorObjectCollection )
ms173906.protmethod(en-US,SQL.90).gif IsValidID  Overloaded. (inherited from NamedComponentCollection )
ms173906.protmethod(en-US,SQL.90).gif IsValidName  Overloaded. (inherited from NamedComponentCollection )
ms173906.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms173906.protmethod(en-US,SQL.90).gif Remove Overloaded.  

Top

Public Events

  Name Description
ms173906.pubevent(en-US,SQL.90).gif CollectionChanged  (inherited from ModelComponentCollection )
ms173906.pubevent(en-US,SQL.90).gif CollectionChanging  (inherited from ModelComponentCollection )

Top

Explicit Interface Implementations

  Name Description
Microsoft.AnalysisServices.Hosting.IOnDemandLoadableCollection.BlockOnDemandLoad  (inherited from ModelComponentCollection )
Microsoft.AnalysisServices.IModelComponentCollection.Contains  (inherited from ModelComponentCollection )
Microsoft.AnalysisServices.IModelComponentCollection.Remove  Overloaded. (inherited from ModelComponentCollection )
System.Collections.IList.Add  (inherited from ModelComponentCollection )
System.Collections.IList.Clear  (inherited from ModelComponentCollection )
System.Collections.IList.Contains  (inherited from ModelComponentCollection )
System.Collections.IList.IndexOf  (inherited from ModelComponentCollection )
System.Collections.IList.Insert  (inherited from ModelComponentCollection )
System.Collections.IList.Remove  (inherited from ModelComponentCollection )
System.Collections.IList.RemoveAt  (inherited from ModelComponentCollection )
Microsoft.AnalysisServices.Hosting.IOnDemandLoadableCollection.Loaded  (inherited from ModelComponentCollection )
System.Collections.IList.Item  (inherited from ModelComponentCollection )

Top

See Also

Reference

RoleCollection Class
Microsoft.AnalysisServices Namespace