Send feedback on this topic.
Teradata.Client.Provider
ExecuteScalarAsync Method



Teradata.Client.Provider Namespace > TdCommand Class : ExecuteScalarAsync Method
Overload List
OverloadDescription
A Task-based asynchronous version of the TdCommand.ExecuteScalar method. Executes the SQL statement (CommandText property) and returns the first column of the first row. The cancellation token may be use to cancel the execution of the TdCommand.  
An asynchronous version of System.Data.Common.DbCommand.ExecuteScalar, which executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored. Invokes System.Data.Common.DbCommand.ExecuteScalarAsync(System.Threading.CancellationToken) with CancellationToken.None. (Inherited from System.Data.Common.DbCommand)
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdCommand Class
TdCommand Members