C#
C++
F#
VB
CloudFile.::..GetSharedAccessSignature Method (SharedAccessFilePolicy, String)(SharedAccessFilePolicy^, String^)(SharedAccessFilePolicy, String)(SharedAccessFilePolicy, String)
Returns a shared access signature for the file.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public string GetSharedAccessSignature( SharedAccessFilePolicy policy, string groupPolicyIdentifier )
C++
public:
String^ GetSharedAccessSignature(
SharedAccessFilePolicy^ policy,
String^ groupPolicyIdentifier
)
member GetSharedAccessSignature :
policy:SharedAccessFilePolicy *
groupPolicyIdentifier:string -> string
Public Function GetSharedAccessSignature ( policy As SharedAccessFilePolicy, groupPolicyIdentifier As String ) As String
Parameters
- policy
-
Type:
Microsoft.WindowsAzure.Storage.File.SharedAccessFilePolicyMicrosoft.WindowsAzure.Storage.File::SharedAccessFilePolicy^Microsoft.WindowsAzure.Storage.File.SharedAccessFilePolicyMicrosoft.WindowsAzure.Storage.File.SharedAccessFilePolicy
A SharedAccessFilePolicy object specifying the access policy for the shared access signature.
- groupPolicyIdentifier
-
Type:
System.StringSystem::String^System.StringSystem.String
A string identifying a stored 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
CloudFile Class
Microsoft.WindowsAzure.Storage.File Namespace