Share via


SqlServerVectorStoreRecordCollection<TKey,TRecord>.DeleteBatchAsync Method

Definition

Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.DeleteBatchAsync(System.Collections.Generic.IEnumerable{`0},System.Threading.CancellationToken)
public System.Threading.Tasks.Task DeleteBatchAsync(System.Collections.Generic.IEnumerable<TKey> keys, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteBatchAsync : seq<'Key> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteBatchAsync : seq<'Key> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteBatchAsync (keys As IEnumerable(Of TKey), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

keys
IEnumerable<TKey>
cancellationToken
CancellationToken

Returns

Implements

Microsoft.Extensions.VectorData.IVectorStoreRecordCollection`2.DeleteBatchAsync(System.Collections.Generic.IEnumerable{`0},System.Threading.CancellationToken)

Applies to