







![]() ![]() |
MySQL Connector/Net |
MySqlHelper..::..ExecuteScalarAsync Method (String, String) |
MySqlHelper Class See Also Send Feedback |
![]() |
Async version of ExecuteScalar
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.8.4.0
Syntax
C# |
---|
public static Task<Object> ExecuteScalarAsync( string connectionString, string commandText ) |
Visual Basic |
---|
Public Shared Function ExecuteScalarAsync ( _ connectionString As String, _ commandText As String _ ) As Task(Of Object) |
Visual C++ |
---|
public: static Task<Object^>^ ExecuteScalarAsync( String^ connectionString, String^ commandText ) |
Parameters
- connectionString
- Type: System..::..String
Settings to use for the update
- commandText
- Type: System..::..String
Command text to use for the update