Поделиться через


Класс Level

Represents a level within a hierarchy.

Иерархия наследования

System.Object
  Microsoft.AnalysisServices.AdomdClient.Level

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public NotInheritable Class Level
'Применение
Dim instance As Level
public sealed class Level
public ref class Level sealed
[<SealedAttribute>]
type Level =  class end
public final class Level

Тип Level обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство 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.

В начало

Методы

  Имя Описание
Открытый метод Equals Determines whether this instance of Level is equal to another instance of Level. (Переопределяет 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. (Переопределяет 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 (Производный от Object.)
Открытый метод ToString Returns a String that represents the current Object. (Переопределяет Object.ToString().)

В начало

Операторы

  Имя Описание
Открытый операторСтатический элемент Equality Determines whether two instances of Level are equal.
Открытый операторСтатический элемент Inequality Determines whether two instances of Level are unequal.

В начало

Замечания

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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.AnalysisServices.AdomdClient