Share via


cloud_table::delete_table_if_exists Method

Deletes the table if it exists.

bool delete_table_if_exists();

bool delete_table_if_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 the table was deleted; otherwise, false.

Requirements

Header: table.h

Namespace: azure::storage

See Also

Reference

cloud_table Class