Partilhar via


RoleMemberCollection Members

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

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

Public Constructors

  Name Description
RoleMemberCollection Initializes a new instance of RoleMemberCollection.

Top

Public Properties

  Name Description
ms173947.pubproperty(en-US,SQL.90).gif Count Gets the number of RoleMember objects in the collection.
ms173947.pubproperty(en-US,SQL.90).gif Item Gets the RoleMember at the specified index in the collection.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms173947.pubmethod(en-US,SQL.90).gif Add Adds a RoleMember to the end of the collection.
ms173947.pubmethod(en-US,SQL.90).gif AddRange Adds a collection of RoleMember objects to the end of the collection.
ms173947.pubmethod(en-US,SQL.90).gif Clear Removes all elements from the collection.
ms173947.pubmethod(en-US,SQL.90).gif Contains Indicates whether the collection contains a specified RoleMember object.
ms173947.pubmethod(en-US,SQL.90).gif CopyTo Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
ms173947.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms173947.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms173947.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms173947.pubmethod(en-US,SQL.90).gif IndexOf Gets the index of a specified RoleMember.
ms173947.pubmethod(en-US,SQL.90).gif Insert Inserts a AnalysisServicesRoleMember into the collection at the specified index.
ms173947.pubmethod(en-US,SQL.90).gifms173947.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms173947.pubmethod(en-US,SQL.90).gif Remove Removes the specified RoleMember from the collection.
ms173947.pubmethod(en-US,SQL.90).gif RemoveAt Removes the RoleMember at the specified index from the collection.
ms173947.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms173947.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms173947.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Explicit Interface Implementations

  Name Description
System.Collections.IEnumerable.GetEnumerator  
System.Collections.IList.Add  
System.Collections.IList.Contains  
System.Collections.IList.IndexOf  
System.Collections.IList.Insert  
System.Collections.IList.Remove  
System.Collections.ICollection.IsSynchronized  
System.Collections.ICollection.SyncRoot  
System.Collections.IList.IsFixedSize  
System.Collections.IList.IsReadOnly  
System.Collections.IList.Item  

Top

See Also

Reference

RoleMemberCollection Class
Microsoft.AnalysisServices Namespace