Data.Cloud.AzureAPI.TAzureBlobService.DeleteBlob

De RAD Studio API Documentation
Aller à : navigation, rechercher

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

ContainerName

Le nom du conteneur dans lequel se trouve le blob.

BlobName

Le nom du blob à supprimer.

OnlySnapshots

Définissez sur True pour supprimer tous les instantanés du blob, mais pas le blob.

LeaseId

Le LeaseId, requis si le blob est verrouillé.

ResponseInfo

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.


Voir aussi