Data.Cloud.AzureAPI.TAzureBlobService.DeleteBlobSnapshot
Delphi
function DeleteBlobSnapshot(ContainerName, BlobName, SnapShot: string): Boolean; overload; deprecated 'Use overloaded method instead';
function DeleteBlobSnapshot(const AContainerName, ABlobName, ASnapShot, ALeaseId: string; const AResponseInfo: TCloudResponseInfo): Boolean; overload;
C++
bool __fastcall DeleteBlobSnapshot _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::UnicodeString ContainerName, System::UnicodeString BlobName, System::UnicodeString SnapShot)/* overload */;
bool __fastcall DeleteBlobSnapshot(const System::UnicodeString AContainerName, const System::UnicodeString ABlobName, const System::UnicodeString ASnapShot, const System::UnicodeString ALeaseId, Data::Cloud::Cloudapi::TCloudResponseInfo* const AResponseInfo)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureBlobService |
Description
Deletes the specified snapshot of the given blob.
DeleteBlobSnapshot deletes one specific snapshot of the specified blob. To delete all snapshots, or the blob itself, call DeleteBlob.
The following table describes the parameters:
Parameter | Description |
---|---|
|
The name of the container the blob is in. |
|
The name of the blob to delete. |
|
The snapshot to delete. |
|
The LeaseId, required if the blob is locked. |
|
The optional class for storing response info into. |
The method returns True if the blob snapshot is deleted successfully, False otherwise.