BaseCommandInterceptor.ExecuteScalar Method

MySQL Connector/Net

BaseCommandInterceptorExecuteScalar Method

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public virtual bool ExecuteScalar(
	string sql,
	ref Object returnValue
)
Public Overridable Function ExecuteScalar ( 
	sql As String,
	ByRef returnValue As Object
) As Boolean
public:
virtual bool ExecuteScalar(
	String^ sql, 
	Object^% returnValue
)
abstract ExecuteScalar : 
        sql : string * 
        returnValue : Object byref -> bool 
override ExecuteScalar : 
        sql : string * 
        returnValue : Object byref -> bool 

Parameters

sql
Type: SystemString
returnValue
Type: SystemObject

Return Value

Type: Boolean
See Also