IndexesOperationsExtensions.CreateAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un index de recherche. https://docs.microsoft.com/rest/api/searchservice/Create-Index
public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.Index> CreateAsync (this Microsoft.Azure.Search.IIndexesOperations operations, Microsoft.Azure.Search.Models.Index index, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Search.IIndexesOperations * Microsoft.Azure.Search.Models.Index * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.Index>
<Extension()>
Public Function CreateAsync (operations As IIndexesOperations, index As Index, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Index)
Paramètres
- operations
- IIndexesOperations
Groupe d’opérations pour cette méthode d’extension.
- index
- Index
Définition de l’index à créer.
- searchRequestOptions
- SearchRequestOptions
Paramètres supplémentaires pour l’opération
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour