AdomdCommand.ExecuteCellSet Method ()

 

Runs the AdomdCommand and returns a CellSet.

Namespace:   Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Syntax

public CellSet ExecuteCellSet()
public:
CellSet^ ExecuteCellSet()
member ExecuteCellSet : unit -> CellSet
Public Function ExecuteCellSet As CellSet

Return Value

Type: Microsoft.AnalysisServices.AdomdClient.CellSet

The cell set.

Exceptions

Exception Condition
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:

Remarks

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.

See Also

AdomdCommand Class
Microsoft.AnalysisServices.AdomdClient Namespace

Return to top