Compartir a través de


SearchIndexClient.GetSynonymMaps(CancellationToken) Método

Definición

Obtiene una lista de todos los mapas de sinónimos.

public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Indexes.Models.SynonymMap>> GetSynonymMaps (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynonymMaps : System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Indexes.Models.SynonymMap>>
override this.GetSynonymMaps : System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Search.Documents.Indexes.Models.SynonymMap>>
Public Overridable Function GetSynonymMaps (Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of SynonymMap))

Parámetros

cancellationToken
CancellationToken

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

Devoluciones

del Response<T> servidor que contiene una lista de SynonymMap.

Excepciones

Se produce cuando el servicio Search devuelve un error.

Se aplica a