HierarchyCollection 클래스

Contains a read-only, on-demand collection of Hierarchy objects contained in a Dimension or a Set.

상속 계층

System.Object
  Microsoft.AnalysisServices.AdomdServer.HierarchyCollection

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

구문

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

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

속성

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

맨 위로 이동

메서드

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

맨 위로 이동

주의

While the HierarchyCollection externally represents a collection of Hierarchy 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 Set referenced from a Axis, the collection represents the members referenced by that query.

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

스레드 보안

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

참고 항목

참조

Microsoft.AnalysisServices.AdomdServer 네임스페이스