Méthode ServerConnection.ExecuteScalar
Inclure les membres protégés
Inclure les membres hérités
Executes a Transact-SQL statement and returns the first column of the first row as a value type.
Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.
Liste de surcharge
Nom | Description | |
---|---|---|
ExecuteScalar(StringCollection) | Executes a batch of Transact-SQL statements and returns the first column of the first row as an object value. | |
ExecuteScalar(String) | Executes a Transact-SQL statement and returns the first column of the first row as an object value. |
Haut de la page
Notes
If multiple batches are specified by using a StringCollection object then the result is an array of value types.