Freigeben über


IndexesOperationsExtensions.Exists Methode

Definition

Bestimmt, ob der angegebene Index im Suchdienst vorhanden ist.

public static bool Exists (this Microsoft.Azure.Search.IIndexesOperations operations, string indexName, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default);
static member Exists : Microsoft.Azure.Search.IIndexesOperations * string * Microsoft.Azure.Search.Models.SearchRequestOptions -> bool
<Extension()>
Public Function Exists (operations As IIndexesOperations, indexName As String, Optional searchRequestOptions As SearchRequestOptions = Nothing) As Boolean

Parameter

operations
IIndexesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

indexName
String

Der Name des Index.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang.

Gibt zurück

true , wenn der Index vorhanden ist; false Andernfalls.

Gilt für: