Método AdomdCommand.ExecuteScalar
Executes the statement and returns the first object of the first column.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (em msmgdsrv.dll)
Sintaxe
'Declaração
Public Function ExecuteScalar As Object
'Uso
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
Valor de retorno
Tipo: System.Object
The first object of the first column or nulluma referência nula (Nothing no Visual Basic) if no columns are found.