Data.Cloud.AzureAPI.TAzureBlobService.CreateRootContainer
Delphi
function CreateRootContainer(MetaData: TStrings = nil; PublicAccess: TBlobPublicAccess = bpaContainer; ResponseInfo: TCloudResponseInfo = nil): Boolean; overload; deprecated 'Use overloaded method instead';
function CreateRootContainer(const AMetaData: array of TPair<string, string>; APublicAccess: TBlobPublicAccess; const AResponseInfo: TCloudResponseInfo): Boolean; overload;
C++
bool __fastcall CreateRootContainer _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::Classes::TStrings* MetaData = (System::Classes::TStrings*)(0x0), TBlobPublicAccess PublicAccess = (TBlobPublicAccess)(0x1), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0))/* overload */;
bool __fastcall CreateRootContainer(const System::Generics::Collections::TPair__2<System::UnicodeString,System::UnicodeString> *AMetaData, const int AMetaData_High, TBlobPublicAccess APublicAccess, 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
Erstellt den Stamm-Container.
Mit CreateRootContainer wird ein Stamm-Container erstellt.
Die folgende Tabelle beschreibt die Parameter:
Parameter | Beschreibung |
---|---|
|
Die optionale Metadaten, die dem Container zugeordnet werden sollen. |
|
Die öffentliche Zugriffseinstellung, die für den Container verwendet werden soll. |
|
Die optionale Klasse zum Speichern der Antwortinformationen. |
Wenn der Stamm-Container bereits vorhanden ist, schlägt die Operation fehl. Diese Methode ruft CreateContainer auf, indem $root als im Parameter ContainerName
angegebener Container-Name übergeben wird.
Die Methode gibt True zurück, wenn das Erstellen erfolgreich war, ansonsten False.