SearchIndexClient.DeleteSynonymMap Método

Definición

Sobrecargas

DeleteSynonymMap(SynonymMap, Boolean, CancellationToken)

Elimina un mapa de sinónimos.

DeleteSynonymMap(String, CancellationToken)

Elimina un mapa de sinónimos.

DeleteSynonymMap(SynonymMap, Boolean, CancellationToken)

Source:
SearchIndexClient.cs
Source:
SearchIndexClient.cs

Elimina un mapa de sinónimos.

public virtual Azure.Response DeleteSynonymMap (Azure.Search.Documents.Indexes.Models.SynonymMap synonymMap, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteSynonymMap : Azure.Search.Documents.Indexes.Models.SynonymMap * bool * System.Threading.CancellationToken -> Azure.Response
override this.DeleteSynonymMap : Azure.Search.Documents.Indexes.Models.SynonymMap * bool * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteSynonymMap (synonymMap As SynonymMap, Optional onlyIfUnchanged As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Response

Parámetros

synonymMap
SynonymMap

que SynonymMap se va a eliminar.

onlyIfUnchanged
Boolean

True para iniciar si RequestFailedExceptionETag no coincide con la versión del servicio actual; de lo contrario, se sobrescribirá la versión del servicio actual.

cancellationToken
CancellationToken

Opcional CancellationToken para propagar las notificaciones que se deben cancelar en la operación.

Devoluciones

del Response servidor.

Excepciones

Se inicia cuando synonymMap o Name es NULL.

Se produce cuando el servicio Search devuelve un error.

Se aplica a

DeleteSynonymMap(String, CancellationToken)

Source:
SearchIndexClient.cs
Source:
SearchIndexClient.cs

Elimina un mapa de sinónimos.

public virtual Azure.Response DeleteSynonymMap (string synonymMapName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteSynonymMap : string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteSynonymMap : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteSynonymMap (synonymMapName As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parámetros

synonymMapName
String

Nombre de un objeto SynonymMap que se va a eliminar.

cancellationToken
CancellationToken

Opcional CancellationToken para propagar las notificaciones que se deben cancelar en la operación.

Devoluciones

del Response servidor.

Excepciones

Se inicia cuando synonymMapName o Name es NULL.

Se produce cuando el servicio Search devuelve un error.

Se aplica a