ContainerInfoProviderInitContainerInfo Method (ContainerInfo, Boolean) |
Assigns reference to cloud container to
BlobContainer property of
containerInfo.
Creates a new container, if it does not exist.
Namespace: CMS.AzureStorageAssembly: CMS.AzureStorage (in CMS.AzureStorage.dll) Version: 12.0.0
Syntax public static void InitContainerInfo(
ContainerInfo containerInfo,
bool referenceOnly
)
Parameters
- containerInfo
- Type: CMS.AzureStorageContainerInfo
Container info object. - referenceOnly
- Type: SystemBoolean
Sets container reference only. No existence verification, creation or permission setting.
Exceptions Exception | Condition |
---|
IOException | Thrown when initialization of the container fails. |
See Also