MemberCollection Class

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

命名空间: Microsoft.AnalysisServices.AdomdServer
程序集: msmgdsrv (in msmgdsrv.dll)

语法

声明
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class MemberCollection
    Implements IEnumerable, IDisposable, ICollection
[DefaultMemberAttribute("Item")] 
public sealed class MemberCollection : IEnumerable, IDisposable, ICollection
[DefaultMemberAttribute(L"Item")] 
public ref class MemberCollection sealed : IEnumerable, IDisposable, ICollection
/** @attribute DefaultMemberAttribute("Item") */ 
public final class MemberCollection implements IEnumerable, IDisposable, 
    ICollection
DefaultMemberAttribute("Item") 
public final class MemberCollection implements IEnumerable, IDisposable, 
    ICollection

备注

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.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.MemberCollection

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

MemberCollection Members
Microsoft.AnalysisServices.AdomdServer Namespace