Compartilhar via


SynonymMapsOperationsExtensions.GetAsync Método

Definição

Recupera uma definição de mapa de sinônimos. https://docs.microsoft.com/rest/api/searchservice/Get-Synonym-Map

public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.SynonymMap> GetAsync (this Microsoft.Azure.Search.ISynonymMapsOperations operations, string synonymMapName, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Search.ISynonymMapsOperations * string * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.SynonymMap>
<Extension()>
Public Function GetAsync (operations As ISynonymMapsOperations, synonymMapName As String, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SynonymMap)

Parâmetros

operations
ISynonymMapsOperations

O grupo de operações para esse método de extensão.

synonymMapName
String

O nome do mapa de sinônimos a ser recuperado.

searchRequestOptions
SearchRequestOptions

Parâmetros adicionais para a operação

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a