OpenAIClientExtensions.DeleteVectorStoreAsync 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 a vector store asynchronously.
public static System.Threading.Tasks.Task<bool> DeleteVectorStoreAsync(this OpenAI.OpenAIClient client, string vectorStoreId, System.Threading.CancellationToken cancellationToken = default);
	static member DeleteVectorStoreAsync : OpenAI.OpenAIClient * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
	<Extension()>
Public Function DeleteVectorStoreAsync (client As OpenAIClient, vectorStoreId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)
	Parameters
- client
 - OpenAI.OpenAIClient
 
The OpenAI client instance.
- vectorStoreId
 - String
 
The identifier of the vector store to delete.
- cancellationToken
 - CancellationToken
 
The cancellation token to monitor for cancellation requests.
Returns
A boolean indicating whether the vector store was successfully deleted.