Freigeben über


IndexesOperationsExtensions.Delete Methode

Definition

Löscht einen Suchindex und alle darin enthaltenen Dokumente. https://docs.microsoft.com/rest/api/searchservice/Delete-Index

public static void Delete (this Microsoft.Azure.Search.IIndexesOperations operations, string indexName, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, Microsoft.Azure.Search.Models.AccessCondition accessCondition = default);
static member Delete : Microsoft.Azure.Search.IIndexesOperations * string * Microsoft.Azure.Search.Models.SearchRequestOptions * Microsoft.Azure.Search.Models.AccessCondition -> unit
<Extension()>
Public Sub Delete (operations As IIndexesOperations, indexName As String, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional accessCondition As AccessCondition = Nothing)

Parameter

operations
IIndexesOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

indexName
String

Der Name des Index, der gelöscht werden soll.

searchRequestOptions
SearchRequestOptions

Zusätzliche Parameter für den Vorgang

accessCondition
AccessCondition

Zusätzliche Parameter für den Vorgang

Gilt für: