Freigeben über


CellSet-Klasse

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

Vererbungshierarchie

System.Object
  Microsoft.AnalysisServices.AdomdClient.CellSet

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

Syntax

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

Der CellSet-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche MethodeStatisches Element LoadXml Returns a CellSet created from a server response, passed in as an XmlReader.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

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.

Beispiele

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

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices.AdomdClient-Namespace