AdomdCommand.ExecuteCellSet Method
Runs the AdomdCommand and returns a CellSet.
Namespace: Microsoft.AnalysisServices.AdomdClient
Assembly: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)
Syntax
'Declaration
Public Function ExecuteCellSet As CellSet
public CellSet ExecuteCellSet ()
public:
CellSet^ ExecuteCellSet ()
public CellSet ExecuteCellSet ()
public function ExecuteCellSet () : CellSet
Return Value
A CellSet.
Exceptions
Exception type | 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.
Thread Safety
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.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
AdomdCommand Class
AdomdCommand Members
Microsoft.AnalysisServices.AdomdClient Namespace