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 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法静态成员 LoadXml Returns a CellSet created from a server response, passed in as an XmlReader.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。