DSAzure.TAzureBlobService.DeleteBlob

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function DeleteBlob(const ContainerName: String; const BlobName: String; const Snapshot: String = '';  const LeaseId: String = ''; const DeleteSnapshots: String = ''): boolean;

C++

bool __fastcall DeleteBlob(const System::UnicodeString ContainerName, const System::UnicodeString BlobName, const System::UnicodeString Snapshot = System::UnicodeString(), const System::UnicodeString LeaseId = System::UnicodeString(), const System::UnicodeString DeleteSnapshots = System::UnicodeString());

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
DSAzure.pas
DSAzure.hpp
DSAzure TAzureBlobService


Beschreibung

Löscht ein bestimmtes Blob oder einen Snapshot.

DeleteBlob löscht das Blob mit dem gegeben Namen aus dem angegebenen Container oder löscht einen oder alle Snapshots des Blobs, abhängig von den Werten der Parameter Snapshot und DeleteSnapshots.

Wenn Snapshot angegeben wird, wird der Snapshot gelöscht.

Wenn das Blob ein oder mehrere Snapshots hat, muss der Parameter DeleteSnapshots angegeben werden. Die zulässigen Werte für diese Operation sind include oder only.

Bei include wird das Blob und alle Snapshots gelöscht.

Bei only werden nur die Snapshots des Blobs, nicht aber das Blob selbst gelöscht.


Siehe auch