Share via


cloud_blob_client::list_containers_segmented Method

Returns a result segment containing a collection of azure::storage::cloud_blob_container objects.

container_result_segment list_containers_segmented(
   const continuation_token& token
) const;

container_result_segment list_containers_segmented(
   const utility::string_t& prefix,
   const continuation_token& token
) const;

container_result_segment list_containers_segmented(
   const utility::string_t& prefix,
   container_listing_details::values includes,
   int max_results,
   const continuation_token& token,
   const blob_request_options& options,
   operation_context context
) const;

Parameters

  • token
    A azure::storage::continuation_token returned by a previous listing operation.
  • prefix
    The container name prefix.
  • includes
     
  • max_results
    A non-negative integer value that indicates the maximum number of results to be returned in the result segment, up to the per-operation limit of 5000. If this value is 0, the maximum possible number of results will be returned, up to 5000.
  • 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.

Return Value

A container_result_segment containing a collection of containers.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

cloud_blob_client Class