C#
C++
F#
VB
CloudBlobContainer.::..GetSharedAccessSignature Method (SharedAccessBlobPolicy, String)(SharedAccessBlobPolicy^, String^)(SharedAccessBlobPolicy, String)(SharedAccessBlobPolicy, String)
Returns a shared access signature for the container.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public string GetSharedAccessSignature( SharedAccessBlobPolicy policy, string groupPolicyIdentifier )
C++
public:
String^ GetSharedAccessSignature(
SharedAccessBlobPolicy^ policy,
String^ groupPolicyIdentifier
)
member GetSharedAccessSignature :
policy:SharedAccessBlobPolicy *
groupPolicyIdentifier:string -> string
Public Function GetSharedAccessSignature ( policy As SharedAccessBlobPolicy, groupPolicyIdentifier As String ) As String
Parameters
- policy
-
Type:
Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicyMicrosoft.WindowsAzure.Storage.Blob::SharedAccessBlobPolicy^Microsoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicyMicrosoft.WindowsAzure.Storage.Blob.SharedAccessBlobPolicy
A SharedAccessBlobPolicy object specifying the access policy for the shared access signature.
- groupPolicyIdentifier
-
Type:
System.StringSystem::String^System.StringSystem.String
A container-level access policy.
Return Value
Type: System.StringSystem::String^System.StringSystem.StringA shared access signature, as a URI query string.
Remarks
The query string returned includes the leading question mark.
See Also
GetSharedAccessSignature Overload
CloudBlobContainer Class
Microsoft.WindowsAzure.Storage.Blob Namespace