Partager via


VolatileVectorStoreRecordCollection<TKey,TRecord>.DeleteCollectionAsync Method

Definition

Delete the collection from the vector store.

public System.Threading.Tasks.Task DeleteCollectionAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteCollectionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteCollectionAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteCollectionAsync (Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

cancellationToken
CancellationToken

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

Returns

A Task that completes when the collection has been deleted.

Implements

Applies to