Share via


Level Class

Represents a level within a hierarchy.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.Level

Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

'Declaration
Public NotInheritable Class Level
'Usage
Dim instance As Level
public sealed class Level
public ref class Level sealed
[<SealedAttribute>]
type Level =  class end
public final class Level

The Level type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method Equals Determines whether this instance of Level is equal to another instance of Level. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as hash tables. (Overrides Object.GetHashCode().)
Public method 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.
Public method 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.
Public method 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.
Public method 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.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two instances of Level are equal.
Public operatorStatic member Inequality Determines whether two instances of Level are unequal.

Top

Remarks

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.

Thread Safety

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