次の方法で共有


AgentsClient.DeleteVectorStore Method

Definition

Overloads

DeleteVectorStore(String, RequestContext)

[Protocol Method] Deletes the vector store object matching the specified ID.

DeleteVectorStore(String, CancellationToken)

Deletes the vector store object matching the specified ID.

DeleteVectorStore(String, RequestContext)

Source:
AgentsClient.cs

[Protocol Method] Deletes the vector store object matching the specified ID.

public virtual Azure.Response DeleteVectorStore (string vectorStoreId, Azure.RequestContext context);
abstract member DeleteVectorStore : string * Azure.RequestContext -> Azure.Response
override this.DeleteVectorStore : string * Azure.RequestContext -> Azure.Response
Public Overridable Function DeleteVectorStore (vectorStoreId As String, context As RequestContext) As Response

Parameters

vectorStoreId
String

Identifier of the vector store.

context
RequestContext

The request context, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

vectorStoreId is null.

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

Service returned a non-success status code.

Applies to

DeleteVectorStore(String, CancellationToken)

Source:
AgentsClient.cs

Deletes the vector store object matching the specified ID.

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

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