SearchIndexerClient.GetIndexer(String, CancellationToken) Méthode

Définition

Obtient un spécifique SearchIndexer.

public virtual Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexer> GetIndexer (string indexerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIndexer : string * System.Threading.CancellationToken -> Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexer>
override this.GetIndexer : string * System.Threading.CancellationToken -> Azure.Response<Azure.Search.Documents.Indexes.Models.SearchIndexer>
Public Overridable Function GetIndexer (indexerName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SearchIndexer)

Paramètres

indexerName
String

Obligatoire. Nom de l'objet SearchIndexer à obtenir.

cancellationToken
CancellationToken

Facultatif CancellationToken pour propager des notifications indiquant que l’opération doit être annulée.

Retours

Response<T> à partir du serveur contenant le demandéSearchIndexer.

Exceptions

Levé quand indexerName a la valeur null.

Levée lorsqu’un échec est retourné par le service Search.

S’applique à