Share via


cloud_table::create_if_not_exists Method

Creates the table if it does not already exist.

bool create_if_not_exists();

bool create_if_not_exists(
   const table_request_options& options,
   operation_context context
);

Parameters

  • 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

true if table was created; otherwise, false.

Requirements

Header: table.h

Namespace: azure::storage

See Also

Reference

cloud_table Class