VectorStores.DeleteVectorStore(String, CancellationToken) 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.
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.