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

  名称 Description
RoleMemberCollection Initializes a new instance of RoleMemberCollection.

顶部

Public Properties

  名称 Description
ms173947.pubproperty(zh-cn,SQL.90).gif Count Gets the number of RoleMember objects in the collection.
ms173947.pubproperty(zh-cn,SQL.90).gif Item Gets the RoleMember at the specified index in the collection.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms173947.pubmethod(zh-cn,SQL.90).gif Add Adds a RoleMember to the end of the collection.
ms173947.pubmethod(zh-cn,SQL.90).gif AddRange Adds a collection of RoleMember objects to the end of the collection.
ms173947.pubmethod(zh-cn,SQL.90).gif Clear Removes all elements from the collection.
ms173947.pubmethod(zh-cn,SQL.90).gif Contains Indicates whether the collection contains a specified RoleMember object.
ms173947.pubmethod(zh-cn,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(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms173947.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms173947.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms173947.pubmethod(zh-cn,SQL.90).gif IndexOf Gets the index of a specified RoleMember.
ms173947.pubmethod(zh-cn,SQL.90).gif Insert Inserts a AnalysisServicesRoleMember into the collection at the specified index.
ms173947.pubmethod(zh-cn,SQL.90).gifms173947.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms173947.pubmethod(zh-cn,SQL.90).gif Remove Removes the specified RoleMember from the collection.
ms173947.pubmethod(zh-cn,SQL.90).gif RemoveAt Removes the RoleMember at the specified index from the collection.
ms173947.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms173947.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms173947.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Explicit Interface Implementations

  名称 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  

顶部

请参阅

参考

RoleMemberCollection Class
Microsoft.AnalysisServices Namespace