Returns a shared access signature for the blob.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As ICloudBlob
Dim policy As SharedAccessBlobPolicy
Dim returnValue As String
returnValue = instance.GetSharedAccessSignature(policy) |
Syntax
Visual Basic |
---|
Function GetSharedAccessSignature ( _
policy As SharedAccessBlobPolicy _
) As String |
C# |
---|
string GetSharedAccessSignature (
SharedAccessBlobPolicy policy
) |
C++ |
---|
String^ GetSharedAccessSignature (
SharedAccessBlobPolicy^ policy
) |
J# |
---|
String GetSharedAccessSignature (
SharedAccessBlobPolicy policy
) |
JScript |
---|
function GetSharedAccessSignature (
policy : SharedAccessBlobPolicy
) : String |
Parameters
- policy
A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.
Return Value
A shared access signature, as a URI query string.
Remarks
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.
Platforms
See Also