AzureCosmosDBNoSQLVectorStoreRecordCollection<TRecord>.DeleteCollectionAsync 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.
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.