SqlClient.ExecutePassThroughNativeQueryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Execute a SQL query (V2)
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.ExecutePassThroughNativeQueryResponse> ExecutePassThroughNativeQueryAsync(string serverName, string databaseName, Azure.Connectors.Sdk.Sql.Models.SqlPassThroughNativeQueryBody input, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecutePassThroughNativeQueryAsync : string * string * Azure.Connectors.Sdk.Sql.Models.SqlPassThroughNativeQueryBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.ExecutePassThroughNativeQueryResponse>
override this.ExecutePassThroughNativeQueryAsync : string * string * Azure.Connectors.Sdk.Sql.Models.SqlPassThroughNativeQueryBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.ExecutePassThroughNativeQueryResponse>
Public Overridable Function ExecutePassThroughNativeQueryAsync (serverName As String, databaseName As String, input As SqlPassThroughNativeQueryBody, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExecutePassThroughNativeQueryResponse)
Parameters
- serverName
- String
Server name
- databaseName
- String
Database name
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Execute a SQL query (V2) response.
Remarks
Execute a SQL query (V2)