Sdílet prostřednictvím


Level Class

Represents a level within a hierarchy.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.Level

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

Syntax

'Declaration
Public NotInheritable Class Level _
    Implements IDisposable, IMetadataObject
'Usage
Dim instance As Level
public sealed class Level : IDisposable, 
    IMetadataObject
public ref class Level sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type Level =  
    class
        interface IDisposable
        interface IMetadataObject
    end
public final class Level implements IDisposable, IMetadataObject

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 {dtor} Releases all resources used by the Level.
Public method Dispose Releases all resources used by the Level.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
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 GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

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.