.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.ExecuteQueryWithMetadataAsync Method

Name Parameters Description
ExecuteQueryWithMetadataAsync(String, QueryParameterCollection, CancellationToken) sql, parameters, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
ExecuteQueryWithMetadataAsync(String, Object[], CancellationToken) sql, parameterValues, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
ExecuteQueryWithMetadataAsync(String, String[], QueryParameterCollection, CancellationToken) sql, parameterNames, parameters, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
ExecuteQueryWithMetadataAsync(String, String[], Object[], CancellationToken) sql, parameterNames, parameterValues, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
ExecuteQueryWithMetadataAsync(String, CancellationToken) sql, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.