Compartir a través de


Clase CellSet

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

Jerarquía de herencia

System.Object
  Microsoft.AnalysisServices.AdomdClient.CellSet

Espacio de nombres:  Microsoft.AnalysisServices.AdomdClient
Ensamblado:  Microsoft.AnalysisServices.AdomdClient (en Microsoft.AnalysisServices.AdomdClient.dll)

Sintaxis

'Declaración
Public NotInheritable Class CellSet
'Uso
Dim instance As CellSet
public sealed class CellSet
public ref class CellSet sealed
[<SealedAttribute>]
type CellSet =  class end
public final class CellSet

El tipo CellSet expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Axes Gets an instance of the AxisCollection class that contains the axes of the CellSet.
Propiedad pública Cells Gets an instance of the CellCollection class that contains the cells of the CellSet.
Propiedad pública FilterAxis Gets an instance of an Axis class that represents the filter axis of the CellSet.
Propiedad pública 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.
Propiedad pública Item[Int32] Gets an instance of a Cell by its index. In Microsoft Visual C#, this property is the indexer for the CellSet class.
Propiedad pública Item[array<Int32[]] Gets the specified Cell from the collection by an array of absolute axis indexes.
Propiedad pública Item[Int32, Int32] Gets the specified Cell from the collection.
Propiedad pública OlapInfo Gets an instance of an OlapInfo class describing the CellSet.

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método públicoMiembro estático LoadXml Returns a CellSet created from a server response, passed in as an XmlReader.
Método público ToString (Se hereda de Object.)

Arriba

Comentarios

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.

Ejemplos

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

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.AnalysisServices.AdomdClient