AdomdCommand.ExecuteCellSet 方法

Runs the AdomdCommand and returns a CellSet.

命名空间:  Microsoft.AnalysisServices.AdomdClient
程序集:  Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)

语法

声明
Public Function ExecuteCellSet As CellSet
用法
Dim instance As AdomdCommand 
Dim returnValue As CellSet 

returnValue = instance.ExecuteCellSet()
public CellSet ExecuteCellSet()
public:
CellSet^ ExecuteCellSet()
member ExecuteCellSet : unit -> CellSet
public function ExecuteCellSet() : CellSet

返回值

类型:Microsoft.AnalysisServices.AdomdClient.CellSet
The cell set.

异常

异常 条件
AdomdErrorResponseException

The provider returned an error in response.

AdomdUnknownResponseException

The provider sent an unrecognizable response.

AdomdConnectionException

The connection was broken.

System.InvalidOperationException

An error occurred because one of the following conditions was met:

注释

The ExecuteCellSet method tries to run the command that is contained by the AdomdCommand and returns a CellSet that contains the results of the command.

If the provider does not return a valid analytical data set, an exception is thrown.

请参阅

参考

AdomdCommand 类

Microsoft.AnalysisServices.AdomdClient 命名空间