Méthode AdomdCommand.ExecuteScalar
Executes the statement and returns the first object of the first column.
Espace de noms : Microsoft.AnalysisServices.AdomdServer
Assembly : msmgdsrv (en msmgdsrv.dll)
Syntaxe
'Déclaration
Public Function ExecuteScalar As Object
'Utilisation
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
Valeur de retour
Type : System.Object
The first object of the first column or nullune référence Null (Nothing dans Visual Basic) if no columns are found.