Ler em inglês

Compartilhar via


IBulkExecutor.BulkImportAsync Método

Definição

Sobrecargas

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);

Parâmetros

documents
IEnumerable<Object>
enableUpsert
Boolean
disableAutomaticIdGeneration
Boolean
maxConcurrencyPerPartitionKeyRange
Nullable<Int32>
maxInMemorySortingBatchSize
Nullable<Int32>
cancellationToken
CancellationToken

Retornos

Aplica-se a

Azure SDK for .NET Preview e Azure SDK for .NET Latest
Produto Versões
Azure SDK for .NET Latest, Preview

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);

Parâmetros

documents
IEnumerable<String>
enableUpsert
Boolean
disableAutomaticIdGeneration
Boolean
maxConcurrencyPerPartitionKeyRange
Nullable<Int32>
maxInMemorySortingBatchSize
Nullable<Int32>
cancellationToken
CancellationToken

Retornos

Aplica-se a

Azure SDK for .NET Preview e Azure SDK for .NET Latest
Produto Versões
Azure SDK for .NET Latest, Preview