C#
C++
F#
VB
CloudFile.::..GetSharedAccessSignature Method (SharedAccessFilePolicy, SharedAccessFileHeaders, String)(SharedAccessFilePolicy^, SharedAccessFileHeaders^, String^)(SharedAccessFilePolicy, SharedAccessFileHeaders, String)(SharedAccessFilePolicy, SharedAccessFileHeaders, String)
Returns a shared access signature for the file.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public string GetSharedAccessSignature( SharedAccessFilePolicy policy, SharedAccessFileHeaders headers, string groupPolicyIdentifier )
C++
public:
String^ GetSharedAccessSignature(
SharedAccessFilePolicy^ policy,
SharedAccessFileHeaders^ headers,
String^ groupPolicyIdentifier
)
member GetSharedAccessSignature :
policy:SharedAccessFilePolicy *
headers:SharedAccessFileHeaders *
groupPolicyIdentifier:string -> string
Public Function GetSharedAccessSignature ( policy As SharedAccessFilePolicy, headers As SharedAccessFileHeaders, 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.
- headers
-
Type:
Microsoft.WindowsAzure.Storage.File.SharedAccessFileHeadersMicrosoft.WindowsAzure.Storage.File::SharedAccessFileHeaders^Microsoft.WindowsAzure.Storage.File.SharedAccessFileHeadersMicrosoft.WindowsAzure.Storage.File.SharedAccessFileHeaders
A SharedAccessFileHeaders object specifying optional header values to set for a file accessed with this SAS.
- 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.
See Also
GetSharedAccessSignature Overload
CloudFile Class
Microsoft.WindowsAzure.Storage.File Namespace