Share via


AzureCosmosDBNoSQLVectorStoreRecordCollection<TRecord>.DeleteBatchAsync Method

Definition

Overloads

DeleteBatchAsync(IEnumerable<AzureCosmosDBNoSQLCompositeKey>, CancellationToken)

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

Parameters

cancellationToken
CancellationToken

Returns

Implements

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

Applies to

DeleteBatchAsync(IEnumerable<String>, CancellationToken)

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

Parameters

cancellationToken
CancellationToken

Returns

Implements

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

Applies to