Share via


Set Class

Represents an ordered collection of zero or more tuples.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdServer.Set

Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

Syntax

'Declaration
Public NotInheritable Class Set _
    Implements IEnumerable, IDisposable
'Usage
Dim instance As Set
public sealed class Set : IEnumerable, IDisposable
public ref class Set sealed : IEnumerable, 
    IDisposable
[<SealedAttribute>]
type Set =  
    class 
        interface IEnumerable 
        interface IDisposable 
    end
public final class Set implements IEnumerable, IDisposable

The Set type exposes the following members.

Properties

  Name Description
Public property Hierarchies Gets a reference to the HierarchyCollection collection referenced by the Set.
Public property Tuples Gets a reference to the TupleCollection collection referenced by the Set.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the Set.
Public method Dispose Releases all resources used by the Set.
Public method Equals (Inherited from Object.)
Public method GetEnumerator() Gets an instance of the Enumerator class for iterating through the collection.
Protected method GetEnumerator() Gets an enumerator that iterates through the collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

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.

See Also

Reference

Microsoft.AnalysisServices.AdomdServer Namespace