Data.Cloud.AzureAPI.TAzureBlobService.CreateRootContainer
Delphi
function CreateRootContainer(MetaData: TStrings = nil; PublicAccess: TBlobPublicAccess = bpaContainer; ResponseInfo: TCloudResponseInfo = nil): Boolean;
C++
bool __fastcall CreateRootContainer(System::Classes::TStrings* MetaData = (System::Classes::TStrings*)(0x0), TBlobPublicAccess PublicAccess = (TBlobPublicAccess)(0x1), Data::Cloud::Cloudapi::TCloudResponseInfo* ResponseInfo = (Data::Cloud::Cloudapi::TCloudResponseInfo*)(0x0));
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Data.Cloud.AzureAPI.pas Data.Cloud.AzureAPI.hpp |
Data.Cloud.AzureAPI | TAzureBlobService |
Description
Creates the root container.
CreateRootContainer is used to create a root container.
The following table describes the parameters:
Parameter | Description |
---|---|
|
The optional metadata to associate with the container. |
|
The public access setting to use for the container. |
|
The optional class for storing response info into. |
If the root container already exists, then the operation fails. This method calls CreateContainer, passing $root as the ContainerName
.
The method returns True if the creation was successful, and False otherwise.