Data.Cloud.AzureAPI.TAzureBlobService.GetBlobMetadata
Delphi
function GetBlobMetadata(ContainerName, BlobName: string; out Metadata: TStrings; const Snapshot: string = ''; const LeaseId: string = ''; ResponseInfo: TCloudResponseInfo = nil): Boolean; overload; deprecated 'Use overloaded method instead';
function GetBlobMetadata(const AContainerName: string; const ABlobName: string; const ASnapshot: string; const ALeaseId: string; const AResponseInfo: TCloudResponseInfo): TArray<TPair<string, string>>; overload;
C++
bool __fastcall GetBlobMetadata _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::UnicodeString ContainerName, System::UnicodeString BlobName, /* out */ System::Classes::TStrings* &Metadata, const System::UnicodeString Snapshot = System::UnicodeString(), const System::UnicodeString LeaseId = System::UnicodeString(), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0))/* overload */;
System::DynamicArray<System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> > __fastcall GetBlobMetadata(const System::UnicodeString AContainerName, const System::UnicodeString ABlobName, const System::UnicodeString ASnapshot, const System::UnicodeString ALeaseId, Data::Cloud::Cloudapi::TCloudResponseInfo* const AResponseInfo)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureBlobService |
Beschreibung
Ermittelt die Metadaten für ein angegebenes Blob.
GetBlobMetadata ermittelt die Metadaten für ein angegebenes Blob.
LeaseId
ist nur erforderlich, wenn Sie an einem Blob (nicht an einenm Snapshot) interessiert sind, das aktuell gesperrt ist. In anderen Situationen sollten Sie als Wert für LeaseId
einen leeren String angeben; ansonsten schlägt die Anforderung fehl.
Die folgende Tabelle beschreibt die Parameter:
Parameter | Beschreibung |
---|---|
|
Der Name des Containers, in dem sich das Blob befindet. |
|
Der Name des Blobs, für das die Metadaten ermittelt werden sollen. |
|
Die zurückgegebenen Metadaten oder nil, wenn die Anforderung fehlschlägt. |
|
Der Snapshot-Bezeichner, wenn Sie an einem Snapshot des Blobs interessiert sind. |
|
Die LeaseId, die erforderlich ist, wenn das Blob gesperrt ist. |
|
Die optionale Klasse zum Speichern der Antwortinformationen. |
Die Methode gibt True zurück, wenn der Aufruf erfolgreich ausgeführt wurde, ansonsten False.