ISearchServices.DeleteQueryKey(String, String, String) 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 void DeleteQueryKey (string resourceGroupName, string searchServiceName, string key);
abstract member DeleteQueryKey : string * string * string -> unit
Public Sub DeleteQueryKey (resourceGroupName As String, searchServiceName As String, key As String)

Parameters

resourceGroupName
String

The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.

searchServiceName
String

The name of the Azure Search service associated with the specified resource group.

key
String

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

Applies to