EnsureCollectionDeletedAsync
This method deletes a specified collection.
Declaration
// C#
public Task EnsureCollectionDeletedAsync(string name, CancellationToken cancellationToken = default)
Parameters
name
The name of the collection.
cancellationToken
The cancellation token.
Return Value
A task representing the asynchronous operation that completes when the collection has been deleted from the database.
Implements
Microsoft.Extensions.VectorData.VectorStore