SqlClient.PatchItemAsync Method

Definition

Update row (V2)

public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.PatchItemResponse> PatchItemAsync(string serverName, string databaseName, string tableName, string rowId, Azure.Connectors.Sdk.Sql.Models.PatchItemInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member PatchItemAsync : string * string * string * string * Azure.Connectors.Sdk.Sql.Models.PatchItemInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.PatchItemResponse>
override this.PatchItemAsync : string * string * string * string * Azure.Connectors.Sdk.Sql.Models.PatchItemInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Sql.Models.PatchItemResponse>
Public Overridable Function PatchItemAsync (serverName As String, databaseName As String, tableName As String, rowId As String, input As PatchItemInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PatchItemResponse)

Parameters

serverName
String

Server name

databaseName
String

Database name

tableName
String

Table name

rowId
String

Row id

input
PatchItemInput

The request body.

cancellationToken
CancellationToken

Cancellation token.

Returns

The Update row (V2) response.

Remarks

This operation updates an existing row in a table.

Applies to