Share via


VectorStores.DeleteVectorStore(String, CancellationToken) Method

Definition

Deletes the vector store object matching the specified ID.

public virtual Azure.Response<bool> DeleteVectorStore(string vectorStoreId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteVectorStore : string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.DeleteVectorStore : string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function DeleteVectorStore (vectorStoreId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

Parameters

vectorStoreId
String

Identifier of the vector store.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

vectorStoreId is null.

vectorStoreId is an empty string, and was expected to be non-empty.

Applies to