AzureAISearchVectorStoreRecordCollection<TRecord>.DeleteAsync 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.

Deletes a record from the vector store. Does not guarantee that the collection exists.

C#
public System.Threading.Tasks.Task DeleteAsync (string key, Microsoft.SemanticKernel.Data.DeleteRecordOptions? options = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

key
String

The unique id associated with the record to remove.

options
DeleteRecordOptions

Optional options for removing the record.

cancellationToken
CancellationToken

The CancellationToken to monitor for cancellation requests. The default is None.

Returns

The unique identifier for the record.

Implements

Applies to

製品 バージョン
Semantic Kernel Dotnet Latest