ICloudBlob.GetSharedAccessSignature Method (SharedAccessBlobPolicy, SharedAccessBlobHeaders, String, String)

Returns a shared access signature for the blob.

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


Function GetSharedAccessSignature ( _
    policy As SharedAccessBlobPolicy, _
    headers As SharedAccessBlobHeaders, _
    groupPolicyIdentifier As String, _
    sasVersion As String _
) As String
string GetSharedAccessSignature (
    SharedAccessBlobPolicy policy,
    SharedAccessBlobHeaders headers,
    string groupPolicyIdentifier,
    string sasVersion
String^ GetSharedAccessSignature (
    SharedAccessBlobPolicy^ policy, 
    SharedAccessBlobHeaders^ headers, 
    String^ groupPolicyIdentifier, 
    String^ sasVersion


  • 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.
  • sasVersion
    A string indicating the desired SAS version to use, in storage service version format. Value must be 2012-02-12 or later.

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


ICloudBlob Interface
ICloudBlob Members
Microsoft.WindowsAzure.Storage.Blob Namespace