CellSet Class

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

命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

语法

声明
<DefaultMemberAttribute("Item")> _
Public NotInheritable Class CellSet
[DefaultMemberAttribute("Item")] 
public sealed class CellSet
[DefaultMemberAttribute(L"Item")] 
public ref class CellSet sealed
/** @attribute DefaultMemberAttribute("Item") */ 
public final class CellSet
DefaultMemberAttribute("Item") 
public final class CellSet

备注

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.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.CellSet

示例

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

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

CellSet Members
Microsoft.AnalysisServices.AdomdClient Namespace