MongoBulkExecutor.BulkImportAsync 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.
Surcharges
BulkImportAsync(IEnumerable<BsonDocument>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<MongoDB.Bson.BsonDocument> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
member this.BulkImportAsync : seq<MongoDB.Bson.BsonDocument> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of BsonDocument), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)
Paramètres
- documents
- IEnumerable<MongoDB.Bson.BsonDocument>
- enableUpsert
- Boolean
- disableAutomaticIdGeneration
- Boolean
- cancellationToken
- CancellationToken
Retours
S’applique à
BulkImportAsync(IEnumerable<Object>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<object> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BulkImportAsync : seq<obj> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
override this.BulkImportAsync : seq<obj> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of Object), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)
Paramètres
- documents
- IEnumerable<Object>
- enableUpsert
- Boolean
- disableAutomaticIdGeneration
- Boolean
- cancellationToken
- CancellationToken
Retours
Implémente
S’applique à
BulkImportAsync(IEnumerable<String>, Boolean, Boolean, Nullable<Int32>, Nullable<Int32>, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse> BulkImportAsync (System.Collections.Generic.IEnumerable<string> documents, bool enableUpsert = false, bool disableAutomaticIdGeneration = false, int? maxConcurrencyPerPartitionKeyRange = default, int? maxInMemorySortingBatchSize = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BulkImportAsync : seq<string> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
override this.BulkImportAsync : seq<string> * bool * bool * Nullable<int> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CosmosDB.BulkExecutor.BulkImport.BulkImportResponse>
Public Function BulkImportAsync (documents As IEnumerable(Of String), Optional enableUpsert As Boolean = false, Optional disableAutomaticIdGeneration As Boolean = false, Optional maxConcurrencyPerPartitionKeyRange As Nullable(Of Integer) = Nothing, Optional maxInMemorySortingBatchSize As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BulkImportResponse)
Paramètres
- documents
- IEnumerable<String>
- enableUpsert
- Boolean
- disableAutomaticIdGeneration
- Boolean
- cancellationToken
- CancellationToken
Retours
Implémente
S’applique à
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for .NET