IChromaClient.DeleteCollectionAsync(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.
Removes collection by name.
public System.Threading.Tasks.Task DeleteCollectionAsync (string collectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteCollectionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteCollectionAsync (collectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- collectionName
- String
Collection name.
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.