Classe CellSet

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

Spazio dei nomi:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

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

Osservazioni

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.

Esempi

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

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..CellSet

Thread Safety

Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.