Data.Cloud.AzureAPI.TAzureBlobService.GetBlobProperties
Delphi
function GetBlobProperties(ContainerName, BlobName: string; out Properties: TStrings; const Snapshot: string = ''; const LeaseId: string = ''; ResponseInfo: TCloudResponseInfo = nil): Boolean; overload; deprecated 'Use overloaded method instead';
function GetBlobProperties(ContainerName, BlobName: string; out Properties: TStrings; out Metadata: TStrings; const Snapshot: string = ''; const LeaseId: string = ''; ResponseInfo: TCloudResponseInfo = nil): Boolean; overload; deprecated 'Use overloaded method instead';
function GetBlobProperties(const AContainerName, ABlobName, ALeaseId, ASnapshot: string; const AResponseInfo: TCloudResponseInfo): TArray<TPair<string, string>>; overload;
C++
bool __fastcall GetBlobProperties _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::UnicodeString ContainerName, System::UnicodeString BlobName, /* out */ System::Classes::TStrings* &Properties, const System::UnicodeString Snapshot = System::UnicodeString(), const System::UnicodeString LeaseId = System::UnicodeString(), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0))/* overload */;
bool __fastcall GetBlobProperties _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::UnicodeString ContainerName, System::UnicodeString BlobName, /* out */ System::Classes::TStrings* &Properties, /* 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 GetBlobProperties(const System::UnicodeString AContainerName, const System::UnicodeString ABlobName, const System::UnicodeString ALeaseId, const System::UnicodeString ASnapshot, 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 Eigenschaften für ein angegebenes Blob.
Mit GetBlobProperties werden die Eigenschaften für ein angegebenes Blob ermittelt.
Der Parameter LeaseId
ist nur erforderlich, wenn Sie an einem Blob (nicht an einem 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.
Es gibt zwei überladene Methoden GetBlobProperties. Die zweite gibt auch die Metadaten des Blobs zurück.
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 Eigenschaften ermittelt werden sollen. |
|
Die zurückgegebenen Eigenschaften oder nil, wenn die Anforderung fehlschlägt. |
|
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 das Füllen erfolgreich wurde, ansonsten False.