DSAzure.TAzureBlobService.SetBlobMetadata

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DSAzure.pas
DSAzure.hpp
Unit: DSAzure
Parent: TAzureBlobService

Delphi

function SetBlobMetadata(const ContainerName: String; const BlobName: String;
const MetaHeaders: TStringList; const LeaseId: String = ''): boolean;

C++

bool __fastcall SetBlobMetadata(const System::UnicodeString ContainerName, const System::UnicodeString BlobName, System::Classes::TStringList* const MetaHeaders, const System::UnicodeString LeaseId = System::UnicodeString());

Description

Sets the metadata for a specific blob.

SetBlobMetadata takes in metadata pairs in the MetaHeaders parameter and uses them to populate the metadata for the specified blob. True is returned if the operation was successful.

LeaseId is required if the blob has an active lease.

See Also