Esporta (0) Stampa
Espandi tutto
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

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)

Dim instance As BlobContainerPermissions
Dim value As BlobContainerPublicAccessType

value = instance.PublicAccess

instance.PublicAccess = value

public BlobContainerPublicAccessType PublicAccess { get; set; }

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


© 2015 Microsoft