DSAzure.TAzureBlobService.CreateRootContainer

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
DSAzure.pas
DSAzure.hpp
Unit: DSAzure
Parent: TAzureBlobService

Delphi

function CreateRootContainer(const PublicAccess: String = BlobPublicAccessContainer): boolean;

C++

bool __fastcall CreateRootContainer(const System::UnicodeString PublicAccess = L"container");

Description

Creates the root container.

CreateRootContainer creates the root container for the blob storage account. This allows for blobs to be stored directly under the top level of the storage account and to be accessed directly from there without specifying a container name. This also allows for metadata to be stored at the root level.

PublicAccess can be one of container, blob, or empty string.

For more information, refer to the MSDN documentation in the See Also section.

See Also