EnsureCollectionDeletedAsync

This method deletes a specified collection.

Declaration

// C#
public Task EnsureCollectionDeletedAsync(string name, CancellationToken cancellationToken = default)

Parameters

Return Value

A task representing the asynchronous operation that completes when the collection has been deleted from the database.

Implements

Microsoft.Extensions.VectorData.VectorStore