Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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)
Syntax
'Declaration
Public Function ExecuteScalar As Object
'Usage
Dim instance As AdomdCommand
Dim returnValue As Object
returnValue = instance.ExecuteScalar()
public Object ExecuteScalar()
public:
virtual Object^ ExecuteScalar() sealed
abstract ExecuteScalar : unit -> Object
override ExecuteScalar : unit -> Object
public final function ExecuteScalar() : Object
Return Value
Type: System.Object
The first column of the first row in the result set, or a null reference if the result set is empty.
Implements
Exceptions
| Exception | Condition |
|---|---|
| System.NotSupportedException | The member is called. |