Returns a shared access signature for the container.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudBlobContainer
Dim policy As SharedAccessBlobPolicy
Dim groupPolicyIdentifier As String
Dim sasVersion As String
Dim returnValue As String
returnValue = instance.GetSharedAccessSignature(policy, groupPolicyIdentifier, sasVersion) |
Syntax
Visual Basic |
---|
Public Function GetSharedAccessSignature ( _
policy As SharedAccessBlobPolicy, _
groupPolicyIdentifier As String, _
sasVersion As String _
) As String |
C# |
---|
public string GetSharedAccessSignature (
SharedAccessBlobPolicy policy,
string groupPolicyIdentifier,
string sasVersion
) |
C++ |
---|
public:
String^ GetSharedAccessSignature (
SharedAccessBlobPolicy^ policy,
String^ groupPolicyIdentifier,
String^ sasVersion
) |
J# |
---|
public String GetSharedAccessSignature (
SharedAccessBlobPolicy policy,
String groupPolicyIdentifier,
String sasVersion
) |
JScript |
---|
public function GetSharedAccessSignature (
policy : SharedAccessBlobPolicy,
groupPolicyIdentifier : String,
sasVersion : String
) : String |
Parameters
- policy
A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.
- groupPolicyIdentifier
A container-level 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, 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