Share via


cloud_page_blob::clear_pages Method

Clears pages from a page blob.

void clear_pages(
   int64_t start_offset,
   int64_t length
);

void clear_pages(
   int64_t start_offset,
   int64_t length,
   const access_condition& condition,
   const blob_request_options& options,
   operation_context context
);

Parameters

  • start_offset
    The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512.
  • length
    The length of the data range to be cleared, in bytes. The length must be a multiple of 512.
  • condition
    An azure::storage::access_condition object that represents the access condition for the operation.
  • options
    A azure::storage::blob_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.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

cloud_page_blob Class