DSAzure.TAzureBlobService.CreateContainer

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateContainer(ContainerName: String; const PublicAccess: String = BlobPublicAccessContainer): boolean; overload;
function CreateContainer(ContainerName: String; const MetaDataHeaders: TStringList; const PublicAccess: String = BlobPublicAccessContainer): boolean; overload;

C++

bool __fastcall CreateContainer(System::UnicodeString ContainerName, const System::UnicodeString PublicAccess = L"container")/* overload */;
bool __fastcall CreateContainer(System::UnicodeString ContainerName, System::Classes::TStringList* const MetaDataHeaders, const System::UnicodeString PublicAccess = L"container")/* overload */;

Properties

Type Visibility Source Unit Parent
function public
DSAzure.pas
DSAzure.hpp
DSAzure TAzureBlobService

Description

Creates a new container with a given name.

CreateContainer creates a new container with the given name.

If MetaDataHeaders is specified, the headers are used as the metadata to associate with the new container.

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