ISearchService.DeleteQueryKeyAsync(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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET