Metodo AdomdCommand.ExecuteScalar
Executes the statement and returns the first object of the first column.
Spazio dei nomi Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
Sintassi
'Dichiarazione
Public Function ExecuteScalar As Object
'Utilizzo
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
Valore restituito
Tipo: System.Object
The first object of the first column or nullriferimento Null (Nothing in Visual Basic). if no columns are found.