Partager via


Classe Member

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

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..Member

Espace de noms :  Microsoft.AnalysisServices.AdomdServer
Assembly :  msmgdsrv (en msmgdsrv.dll)

Syntaxe

'Déclaration
Public NotInheritable Class Member _
    Implements IDisposable, IMetadataObject
'Utilisation
Dim instance As Member
public sealed class Member : IDisposable, 
    IMetadataObject
public ref class Member sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type Member =  
    class
        interface IDisposable
        interface IMetadataObject
    end
public final class Member implements IDisposable, IMetadataObject

Le type Member expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Caption Gets the caption of the Member.
Propriété publique ChildCount Gets the estimated count of child members contained in the Member.
Propriété publique Description Gets the descriptive text of the Member.
Propriété publique LevelDepth Gets the ordinal position of the level that contains the Member.
Propriété publique LevelName Gets the name of the level that contains the Member.
Propriété publique Name Gets the name of the Member.
Propriété publique Parent Gets a reference to the parent Member, if applicable, that contains the Member.
Propriété publique ParentLevel This property gets a Level that contains the Member.
Propriété publique Type Gets the member type of the Member.
Propriété publique UniqueName Gets the unique name of the Member.

Haut de la page

Méthodes

  Nom Description
Méthode publique {dtor} Releases all resources used by the Member.
Méthode publique Dispose Releases all resources used by the Member.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetChildren Returns a MemberCollection that contains a collection of child members for the Member.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.