Export (0) Print
Expand All

Member Class

Represents a single member within a hierarchy, tuple, level, or member.

Object
  Microsoft.AnalysisServices.AdomdServer.Member

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public sealed class Member : IDisposable, 
	IMetadataObject

The Member type exposes the following members.

  NameDescription
Public propertyCaptionGets the caption of the Member.
Public propertyChildCountGets the estimated count of child members contained in the Member.
Public propertyDescriptionGets the descriptive text of the Member.
Public propertyLevelDepthGets the ordinal position of the level that contains the Member.
Public propertyLevelNameGets the name of the level that contains the Member.
Public propertyNameGets the name of the Member.
Public propertyParentGets a reference to the parent Member, if applicable, that contains the Member.
Public propertyParentLevelThis property gets a Level that contains the Member.
Public propertyTypeGets the member type of the Member.
Public propertyUniqueNameGets the unique name of the Member.
Top

  NameDescription
Public method{dtor}Releases all resources used by the Member.
Public methodDisposeReleases all resources used by the Member.
Public methodEquals (Inherited from Object.)
Public methodGetChildrenReturns a MemberCollection that contains a collection of child members for the Member.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

A member is an item in a hierarchy that represents one or more records in the underlying relational database. A member is the lowest level of reference used when accessing cell data in a cube.

Members are used to construct tuples, which in turn are used to construct sets. Members are organized hierarchically; a member can have other members associated with it. For example, in a time dimension that contains three levels named Year, Month, and Day, the members of the Day level are leaf members because they have no child members. The members in the Year and Month levels are nonleaf members, because each member in the Month level has at least 28 child members from the Day level and each member in the Year level has 12 child members from the Month level.

The Member encapsulates the information necessary to describe a member, including a collection of Member objects that contain child members, if applicable.

The information available to a Member depends on the parent of the Members collection from which the Member was retrieved. While the Members collection externally represents a collection of Member objects for a specified Hierarchy, Tuple, Level, or Member, the collection is internally loaded and managed in one of two ways, depending on the parent of the Hierarchy, Tuple, Level, or Member:

  • If the parent object was referenced through a CubeDef in order to retrieve metadata from the server, the collection represents the members that are defined for the parent object.

  • If the parent object was referenced through a CellSet in order to retrieve metadata from a query, the collection represents the members that are retrieved for the set (or axis) that contains the parent object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft