CloudPageBlob.GetSharedAccessSignature Method (SharedAccessBlobPolicy, SharedAccessBlobHeaders, String)

Returns a shared access signature for the blob.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)


Public Function GetSharedAccessSignature ( _
    policy As SharedAccessBlobPolicy, _
    headers As SharedAccessBlobHeaders, _
    groupPolicyIdentifier As String _
) As String
public string GetSharedAccessSignature (
    SharedAccessBlobPolicy policy,
    SharedAccessBlobHeaders headers,
    string groupPolicyIdentifier
virtual String^ GetSharedAccessSignature (
    SharedAccessBlobPolicy^ policy, 
    SharedAccessBlobHeaders^ headers, 
    String^ groupPolicyIdentifier
) sealed


  • headers
    A SharedAccessBlobHeaders object specifying optional header values to set for a blob accessed with this SAS.
  • groupPolicyIdentifier
    A string identifying a stored access policy.

Return Value

A shared access signature.

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.


Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

See Also


CloudPageBlob Class
CloudPageBlob Members
Microsoft.WindowsAzure.Storage.Blob Namespace