Compartilhar via


Classe Level

Represents a level within a hierarchy.

Hierarquia de herança

System.Object
  Microsoft.AnalysisServices.AdomdClient.Level

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

Sintaxe

'Declaração
Public NotInheritable Class Level
'Uso
Dim instance As Level
public sealed class Level
public ref class Level sealed
[<SealedAttribute>]
type Level =  class end
public final class Level

O tipo Level expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Caption Gets the caption of the Level.
Propriedade pública Description Gets the description of the Level.
Propriedade pública LevelNumber Gets the ordinal position of the Level within the parent hierarchy.
Propriedade pública LevelProperties Gets a LevelPropertyCollection that contains a collection of member properties for the Level.
Propriedade pública LevelType Gets the level type of the Level.
Propriedade pública MemberCount Gets the number of members contained by the Level.
Propriedade pública Name Gets the name of the Level.
Propriedade pública ParentHierarchy Gets a Hierarchy that contains the Level.
Propriedade pública Properties Gets a PropertyCollection that contains the properties associated with the Level.
Propriedade pública UniqueName Gets the unique name of the Level.

Início

Métodos

  Nome Descrição
Método público Equals Determines whether this instance of Level is equal to another instance of Level. (Substitui Object.Equals(Object).)
Método público GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as hash tables. (Substitui Object.GetHashCode().)
Método público 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.
Método público 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.
Método público 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.
Método público 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.
Método público GetType (Herdado de Object.)
Método público ToString Returns a String that represents the current Object. (Substitui Object.ToString().)

Início

Operadores

  Nome Descrição
Operador públicoMembro estático Equality Determines whether two instances of Level are equal.
Operador públicoMembro estático Inequality Determines whether two instances of Level are unequal.

Início

Comentários

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.AnalysisServices.AdomdClient