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)。)
受保护方法 Finalize (从 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 继承。)
受保护方法 MemberwiseClone (从 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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。