Compartilhar via


Classe Set

Represents an ordered collection of zero or more tuples.

Hierarquia de herança

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..Set

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

Sintaxe

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

O tipo Set expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Hierarchies Gets a reference to the HierarchyCollection collection referenced by the Set.
Propriedade pública Tuples Gets a reference to the TupleCollection collection referenced by the Set.

Início

Métodos

  Nome Descrição
Método público Equals Determines whether two instances of System..::..Object are equal. (Substitui Object. . :: . .Equals(Object).)
Método protegido Finalize (Herdado de 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 GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Operadores

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

Início

Comentários

A set is an ordered collection of zero or more tuples. A set is most commonly used to define axes in a multidimensional query. Like tuples, sets also have dimensionality. Because a set is composed of tuples, the dimensionality of a set is expressed by the dimensionality of each tuple within it. Therefore, tuples within a set must have the same dimensionality.

In ADOMD.NET, the Set class encapsulates the basic information used to define a set. The Set class is used primarily to represent an axis within the Axes collection of a CellSet. The dimensionality of a set is represented by the Hierarchies collection within the Set class, which identifies the nesting order of hierarchies within a given axis for a CellSet.

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.