[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)
Gets or sets the public access setting for the container. Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
Usage
Visual Basic |
---|
Dim instance As BlobContainerPermissions Dim value As BlobContainerPublicAccessType value = instance.PublicAccess instance.PublicAccess = value |
Syntax
Visual Basic |
---|
Public Property PublicAccess As BlobContainerPublicAccessType |
C# |
---|
public BlobContainerPublicAccessType PublicAccess { get; set; } |
C++ |
---|
public: property BlobContainerPublicAccessType PublicAccess { BlobContainerPublicAccessType get (); void set (BlobContainerPublicAccessType value); } |
J# |
---|
JScript |
---|
Property Value
Type: Microsoft.WindowsAzure.StorageClient.BlobContainerPublicAccessTypeThe public access setting for the container.Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.