SqlClient.DeleteItemAsync Method

Definition

Delete row (V2)

public virtual System.Threading.Tasks.Task DeleteItemAsync(string serverName, string databaseName, string tableName, string rowId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteItemAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteItemAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DeleteItemAsync (serverName As String, databaseName As String, tableName As String, rowId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

serverName
String

Server name

databaseName
String

Database name

tableName
String

Table name

rowId
String

Row id

cancellationToken
CancellationToken

Cancellation token.

Returns

Remarks

This operation deletes a row from a table.

Applies to