MemberCollection 클래스

Gets a read-only, on-demand collection of Member objects contained by a Position, a Level, or a Tuple.

상속 계층

System.Object
  Microsoft.AnalysisServices.AdomdServer.MemberCollection

네임스페이스:  Microsoft.AnalysisServices.AdomdServer
어셈블리:  msmgdsrv(msmgdsrv.dll)

구문

‘선언
Public NotInheritable Class MemberCollection _
    Implements IEnumerable, IDisposable, ICollection
‘사용 방법
Dim instance As MemberCollection
public sealed class MemberCollection : IEnumerable, 
    IDisposable, ICollection
public ref class MemberCollection sealed : IEnumerable, 
    IDisposable, ICollection
[<SealedAttribute>]
type MemberCollection =  
    class 
        interface IEnumerable 
        interface IDisposable 
        interface ICollection 
    end
public final class MemberCollection implements IEnumerable, IDisposable, ICollection

MemberCollection 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 Count Gets the number of Member objects in the collection.
공용 속성 IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
공용 속성 Item Gets the specified Member from the collection by its index. In Microsoft Visual C#, this property is the indexer for the MemberCollection class.
공용 속성 SyncRoot Gets an object that can be used to synchronize access to the collection.

맨 위로 이동

메서드

  이름 설명
공용 메서드 {dtor} Releases all resources used by the MemberCollection.
공용 메서드 CopyTo(Array, Int32) Copies the elements of the collection to the specified array.
공용 메서드 CopyTo(array<Member[], Int32) Copies the elements of the collection to the specified array.
공용 메서드 Dispose Releases all resources used by the MemberCollection.
공용 메서드 Equals (Object에서 상속됨)
공용 메서드 GetEnumerator() Gets an enumerator for iterating through the collection.
보호된 메서드 GetEnumerator() Gets an enumerator that iterates through the MemberCollection.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

주의

Although the MemberCollection externally represents a collection of Member objects, the collection is internally loaded and managed in one of two ways, depending on the parent of the collection:

  • If the parent object was referenced as a result of a query, as in the case of a Tuple, the collection represents the members referenced by that query.

  • If the parent object was referenced as a result of a request for metadata, the collection represents the members referenced by the definition of the parent object.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.AnalysisServices.AdomdServer 네임스페이스