Data.Cloud.AzureAPI.TAzureBlobService.DeleteBlob
Delphi
function DeleteBlob(ContainerName, BlobName: string; OnlySnapshots: Boolean = False; LeaseId: string = ''; ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall DeleteBlob(System::UnicodeString ContainerName, System::UnicodeString BlobName, bool OnlySnapshots = false, System::UnicodeString LeaseId = System::UnicodeString(), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureBlobService |
Description
Supprime le blob spécifié, ou tous ses instantanés.
DeleteBlob supprime le blob spécifié si OnlySnapshots
vaut False, ou seulement les instantanés du blob si OnlySnapShot
vaut True.
Le tableau suivant décrit les paramètres :
Paramètre | Description |
---|---|
|
Le nom du conteneur dans lequel se trouve le blob. |
|
Le nom du blob à supprimer. |
|
Définissez sur True pour supprimer tous les instantanés du blob, mais pas le blob. |
|
Le LeaseId, requis si le blob est verrouillé. |
|
La classe optionnelle dans laquelle stocker les informations de la réponse. |
La méthode renvoie True en cas de réussite de la suppression du blob, False sinon.