你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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