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 | |
---|---|---|
Caption | Gets the caption of the Level. | |
Description | Gets the description of the Level. | |
LevelNumber | Gets the ordinal position of the Level within the parent hierarchy. | |
LevelProperties | Gets a LevelPropertyCollection that contains a collection of member properties for the Level. | |
LevelType | Gets the level type of the Level. | |
MemberCount | Gets the number of members contained by the Level. | |
Name | Gets the name of the Level. | |
ParentHierarchy | Gets a Hierarchy that contains the Level. | |
Properties | Gets a PropertyCollection that contains the properties associated with the Level. | |
UniqueName | Gets the unique name of the Level. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether this instance of Level is equal to another instance of Level. (Overrides Object.Equals(Object).) | |
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().) | |
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. | |
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. | |
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. | |
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. | |
GetType | (Inherited from Object.) | |
ToString | Returns a String that represents the current Object. (Overrides Object.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two instances of Level are equal. | |
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.