Partager via


Classe Level

Represents a level within a hierarchy.

Hiérarchie d'héritage

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..Level

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

Syntaxe

'Déclaration
Public NotInheritable Class Level
'Utilisation
Dim instance As Level
public sealed class Level
public ref class Level sealed
[<SealedAttribute>]
type Level =  class end
public final class Level

Le type Level expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Caption Gets the caption of the Level.
Propriété publique Description Gets the description of the Level.
Propriété publique LevelNumber Gets the ordinal position of the Level within the parent hierarchy.
Propriété publique LevelProperties Gets a LevelPropertyCollection that contains a collection of member properties for the Level.
Propriété publique LevelType Gets the level type of the Level.
Propriété publique MemberCount Gets the number of members contained by the Level.
Propriété publique Name Gets the name of the Level.
Propriété publique ParentHierarchy Gets a Hierarchy that contains the Level.
Propriété publique Properties Gets a PropertyCollection that contains the properties associated with the Level.
Propriété publique UniqueName Gets the unique name of the Level.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals Determines whether this instance of Level is equal to another instance of Level. (remplace Object. . :: . .Equals(Object).)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as hash tables. (remplace Object. . :: . .GetHashCode() () () ().)
Méthode publique GetMembers() () () () Returns a MemberCollection that contains a collection of members for the Level. Note   This method loads all members of the level. If there are a large number of members, this method may take a long time to execute.
Méthode publique GetMembers(Int64, Int64) Returns a MemberCollection that contains a collection of members for the Level. The returned object contains up to count members, and begins at the position indicated by the start parameter.
Méthode publique GetMembers(Int64, Int64, array<MemberFilter> [] () [] []) Returns a MemberCollection that contains a collection of members for the Level. The returned object contains up to count members, begins at the position indicated by the start parameter, and is filtered by the filters parameter.
Méthode publique GetMembers(Int64, Int64, array<String> [] () [] [], array<MemberFilter> [] () [] []) Returns a MemberCollection that contains a collection of members for the Level. The returned object contains up to count members, begins at the position indicated by the start parameter, and is filtered by the filters parameter. Each member caches the properties indicated by the Array passed into the properties parameter. Note   For performance reasons, this overload should only be used if non-default member properties are needed.
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString Returns a String that represents the current Object. (remplace Object. . :: . .ToString() () () ().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality Determines whether two instances of Level are equal.
Opérateur publicMembre statique Inequality Determines whether two instances of Level are unequal.

Haut de la page

Notes

Dimensions are complex structures in Microsoft SQL Server 2005 Analysis Services (SSAS), containing members that are organized into levels, which in turn are organized into hierarchies. In ADOMD.NET, levels are represented by the Level class.

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.