ISearchService.DeleteQueryKeyAsync(String, CancellationToken) Method

Definition

Deletes the specified query key. Unlike admin keys, query keys are not regenerated. The process for regenerating a query key is to delete and then recreate it.

public System.Threading.Tasks.Task DeleteQueryKeyAsync (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteQueryKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteQueryKeyAsync (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

key
String

The query key to be deleted. Query keys are identified by value, not by name.

cancellationToken
CancellationToken

Returns

Applies to