SALES: 1-800-867-1380

BlobContainerPermissions.PublicAccess Property

Updated: April 24, 2013

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Gets or sets the public access setting for the container.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

'Usage
Dim instance As BlobContainerPermissions
Dim value As BlobContainerPublicAccessType

value = instance.PublicAccess

instance.PublicAccess = value

'Declaration
Public Property PublicAccess As BlobContainerPublicAccessType

Property Value

Type: Microsoft.WindowsAzure.StorageClient.BlobContainerPublicAccessType

The public access setting for the container.

The public access setting indicates whether the container and its blobs can be read via an anonymous request.

The BlobContainerPublicAccessType enumeration provides three levels of anonymous read access: Off, which prevents anonymous access; Blob, which permits anonymous read access to blob resources, but not to container metadata or to the list of blobs in the container; and Container, which permits anonymous read access to blob resources, containter metadata, and the list of blobs in the container.

For more information on managing anonymous access to Blob service resources, see Setting Access Control for Containers.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft