Метод 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
A CellSet.
Исключения
Исключение | Условие |
---|---|
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.