Classe CellSet
Represents a cellset that is returned as a result of a query.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.AnalysisServices.AdomdClient..::..CellSet
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
Nel tipo CellSet sono esposti i membri seguenti.
Proprietà
Nome | Descrizione | |
---|---|---|
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. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
LoadXml | Returns a CellSet created from a server response, passed in as an XmlReader. | |
MemberwiseClone | Ereditato da Object. | |
ToString | Ereditato da Object. |
In alto
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
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.