Export (0) Print
Expand All

AdomdCommand.ExecuteScalar Method

Executes the query, and returns the first column of the first row in the result set returned by the query.

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

public Object ExecuteScalar()

Return Value

Type: Object
The first column of the first row in the result set, or a null reference if the result set is empty.

Implements

IDbCommand.ExecuteScalar

ExceptionCondition
NotSupportedException

The member is called.

Community Additions

ADD
Show:
© 2015 Microsoft