DSAzure.TAzureBlobService.GetBlobMetadata
Delphi
function GetBlobMetadata(const ContainerName: String; const BlobName: String;
const Snapshot: String = ''; const LeaseId: String = ''): boolean;
C++
bool __fastcall GetBlobMetadata(const System::UnicodeString ContainerName, const System::UnicodeString BlobName, const System::UnicodeString Snapshot = System::UnicodeString(), const System::UnicodeString LeaseId = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | DSAzure.pas DSAzure.hpp |
DSAzure | TAzureBlobService |
Description
Retrieves the given blob's metadata.
GetBlobMetadata retrieves metadata for the blob with the given name. The call returns True if successful, and then stores the metadata within the TAzureBlobService instance. To retrieve the metadata, you would then access ResponseHeader, which holds the metadata pairs for the last issued request. Alternatively, you can use the PopulateContainer function to get all of the metadata at once.
An example of this is given on the Microsoft Azure Blob API page below.