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 CloudPageBlob
Dim policy As SharedAccessBlobPolicy
Dim groupPolicyIdentifier As String
Dim returnValue As String
returnValue = instance.GetSharedAccessSignature(policy, groupPolicyIdentifier) |
Syntax
Visual Basic |
---|
<DefaultOverloadAttribute> _
Public Function GetSharedAccessSignature ( _
policy As SharedAccessBlobPolicy, _
groupPolicyIdentifier As String _
) As String |
C# |
---|
[DefaultOverloadAttribute]
public string GetSharedAccessSignature (
SharedAccessBlobPolicy policy,
string groupPolicyIdentifier
) |
C++ |
---|
[DefaultOverloadAttribute]
public:
virtual String^ GetSharedAccessSignature (
SharedAccessBlobPolicy^ policy,
String^ groupPolicyIdentifier
) sealed |
J# |
---|
/** @attribute DefaultOverloadAttribute() */
public final String GetSharedAccessSignature (
SharedAccessBlobPolicy policy,
String groupPolicyIdentifier
) |
JScript |
---|
DefaultOverloadAttribute
public final function GetSharedAccessSignature (
policy : SharedAccessBlobPolicy,
groupPolicyIdentifier : String
) : String |
Parameters
- policy
A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.
- groupPolicyIdentifier
A string identifying a stored access policy.
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