Share via


PineconeMemoryStore.DeleteCollectionAsync(String, CancellationToken) Method

Definition

Deletes a collection from the data store.

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

Parameters

collectionName
String

in the case of Pinecone, collectionName is synonymous with indexName

cancellationToken
CancellationToken

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

Returns

Implements

Applies to