Exporter (0) Imprimer
Développer tout
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

BlobContainerPermissions.PublicAccess Property

Updated: April 24, 2013

[This topic is part of the Windows Azure Storage Client Library 1.7, which has been deprecated. The current recommended version is Storage Client Library 3.0.]

Gets or sets the public access setting for the container.

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

'Utilisation

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 and Windows Server 2008

Target Platforms

Afficher:
© 2014 Microsoft