Set Class

Represents an ordered collection of zero or more tuples.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.Set

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

Syntax

'Declaration
Public NotInheritable Class Set
'Usage
Dim instance As Set
public sealed class Set
public ref class Set sealed
[<SealedAttribute>]
type Set =  class end
public final class Set

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 Equals Determines whether two instances of System.Object are equal. (Overrides Object.Equals(Object).)
Public method GetHashCode Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures such as hash tables. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two specified instances of Set are equal.
Public operatorStatic member Inequality Determines whether two specified instances of Set are not equal.

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.AdomdClient Namespace