Share via


cloud_blob_directory::get_blob_reference Method

Gets a reference to a blob in this virtual directory.

WASTORAGE_API cloud_blob get_blob_reference(
   utility::string_t blob_name
) const;

WASTORAGE_API cloud_blob get_blob_reference(
   utility::string_t blob_name,
   utility::string_t snapshot_time
) const;

Parameters

  • blob_name
    The name of the blob.
  • snapshot_time
    The snapshot timestamp, if the blob is a snapshot.

Return Value

A reference to a cloud_blob.

Requirements

Header: blob.h

Namespace: azure::storage

See Also

Reference

cloud_blob_directory Class