Freigeben über


IndexersOperationsExtensions.ExistsAsync Methode

Definition

Bestimmt, ob der angegebene Indexer im Suchdienst vorhanden ist oder nicht.

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

Parameter

operations
IIndexersOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

indexerName
String

Der Name des Indexers.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

true, wenn der Indexer vorhanden ist, andernfallsfalse.

Gilt für: