Поделиться через


Класс CellSet

Represents a cellset that is returned as a result of a query.

Иерархия наследования

System.Object
  Microsoft.AnalysisServices.AdomdClient.CellSet

Пространство имен:  Microsoft.AnalysisServices.AdomdClient
Сборка:  Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)

Синтаксис

'Декларация
Public NotInheritable Class CellSet
'Применение
Dim instance As CellSet
public sealed class CellSet
public ref class CellSet sealed
[<SealedAttribute>]
type CellSet =  class end
public final class CellSet

Тип CellSet обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство Axes Gets an instance of the AxisCollection class that contains the axes of the CellSet.
Открытое свойство Cells Gets an instance of the CellCollection class that contains the cells of the CellSet.
Открытое свойство FilterAxis Gets an instance of an Axis class that represents the filter axis of the CellSet.
Открытое свойство Item[ICollection] Gets the specified Cell by an ICollection interface that contains a collection of absolute axis indexes. In Microsoft Visual C#, this property is the indexer for the CellCollection class.
Открытое свойство Item[Int32] Gets an instance of a Cell by its index. In Microsoft Visual C#, this property is the indexer for the CellSet class.
Открытое свойство Item[array<Int32[]] Gets the specified Cell from the collection by an array of absolute axis indexes.
Открытое свойство Item[Int32, Int32] Gets the specified Cell from the collection.
Открытое свойство OlapInfo Gets an instance of an OlapInfo class describing the CellSet.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый методСтатический элемент LoadXml Returns a CellSet created from a server response, passed in as an XmlReader.
Открытый метод ToString (Производный от Object.)

В начало

Замечания

In ADOMD.NET, the CellSet encapsulates a multidimensional result set that is the result of running a command. A multidimensional result set contains a discrete collection of data points, or cells, that are organized along multiple dimensions, or axes.

A CellSet is created when the Execute or ExecuteCellSet method of the AdomdCommand is called to run a command.

Примеры

The following subroutine, given a CellSet, examines and displays information about the object:

Public Sub ListCellSetInfo(ByRef CellSetToCheck As CellSet)
    If CellSetToCheck Is Nothing Then
        Throw New System.ArgumentNullException("CellSetToCheck")
    Else
        Console.WriteLine("The cellset has {0} cells " & _
            "organized along {1} axes.", _
            CellSetToCheck.Cells.Count, _
            CellSetToCheck.Axes.Count)
    End If
End Sub

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.AnalysisServices.AdomdClient