Partager via


SynonymMapsOperationsExtensions.ExistsAsync Méthode

Définition

Détermine si le mappage de synonymes donné existe ou non dans le service de recherche.

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

Paramètres

operations
ISynonymMapsOperations

Groupe d’opérations pour cette méthode d’extension.

synonymMapName
String

Nom de la carte de synonymes.

searchRequestOptions
SearchRequestOptions

Paramètres supplémentaires pour l’opération.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

true si la carte de synonymes existe ; false Sinon.

S’applique à