Méthode BusinessLogicCommand.ExecuteScalar
Executes the query and returns the first column of the first row in the result set returned by the query.
Espace de noms : Microsoft.SqlServer.Replication.BusinessLogicSupport
Assembly : Microsoft.SqlServer.Replication.BusinessLogicSupport (en Microsoft.SqlServer.Replication.BusinessLogicSupport.dll)
Syntaxe
'Déclaration
Public Function ExecuteScalar As Object
'Utilisation
Dim instance As BusinessLogicCommand
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 column of the first row in the result set.
Implémente
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Replication.BusinessLogicSupport