Share via


cloud_table::execute_batch Method

Executes a batch operation on a table as an atomic operation.

std::vector<table_result> execute_batch(
   const table_batch_operation& operation
) const;

std::vector<table_result> execute_batch(
   const table_batch_operation& operation,
   const table_request_options& options,
   operation_context context
) const;

Parameters

  • operation
    A azure::storage::table_batch_operation object that represents the operation to perform.
  • options
    A azure::storage::table_request_options object that specifies additional options for the request.
  • context
    An azure::storage::operation_context object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.

Return Value

An enumerable collection of azure::storage::table_result objects that contains the results, in order, of each operation in the azure::storage::table_batch_operation.

Requirements

Header: table.h

Namespace: azure::storage

See Also

Reference

cloud_table Class