DSAzure.TAzureBlobService.SnapshotBlob

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 SnapshotBlob(const ContainerName: String; const BlobName: String; const IfModifiedSince: String = '';
const IfUnmodifiedSince: String = ''; const IfMatch: String = '';
const IfNoneMatch: String = ''; const LeaseId: String = ''; const MetaHeaders: TStringList = nil): String;

C++

System::UnicodeString __fastcall SnapshotBlob(const System::UnicodeString ContainerName, const System::UnicodeString BlobName, const System::UnicodeString IfModifiedSince = System::UnicodeString(), const System::UnicodeString IfUnmodifiedSince = System::UnicodeString(), const System::UnicodeString IfMatch = System::UnicodeString(), const System::UnicodeString IfNoneMatch = System::UnicodeString(), const System::UnicodeString LeaseId = System::UnicodeString(), System::Classes::TStringList* const MetaHeaders = (System::Classes::TStringList*)(0x0));

Description

Creates a snapshot of a blob.

SnapshotBlob creates a read-only snapshot of a blob. If MetaHeaders is specified, then that metadata will be associated with the snapshot. Otherwise, the blob's current metadata will be copied over into the snapshot. LeaseId is required if there is an active lease on the blob.

For more information on the optional parameters, refer to the MSDN documentation in the See Also section.

See Also