DSAzure.TAzureBlobService.GetBlockList

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 GetBlockList(const ContainerName: String; const BlobName: String; const BlockListType: String = '';
const Snapshot: String = ''; const LeaseId: String = ''): String;

C++

System::UnicodeString __fastcall GetBlockList(const System::UnicodeString ContainerName, const System::UnicodeString BlobName, const System::UnicodeString BlockListType = System::UnicodeString(), const System::UnicodeString Snapshot = System::UnicodeString(), const System::UnicodeString LeaseId = System::UnicodeString());

Description

Retrieves the blocks that have been uploaded for a block blob.

GetBlockList retrieves the blocks associated with the given blob, or the blob's Snapshot, if specified.

BlockListType can be set to committed, uncommitted, or all, specifying which blob types to retrieve blocks for. An uncommitted block is one that has been uploaded and associated with a blob, but is not yet considered part of the blob. If you don't specify a value for BlockListType, the server will return the committed blocks.

See Also