C#C++F#VB
CloudQueue.::..GetSharedAccessSignature Method (SharedAccessQueuePolicy, String, Nullable<SharedAccessProtocol>, IPAddressOrRange)(SharedAccessQueuePolicy^, String^, Nullable<SharedAccessProtocol>, IPAddressOrRange^)(SharedAccessQueuePolicy, String, Nullable<SharedAccessProtocol>, IPAddressOrRange)(SharedAccessQueuePolicy, String, Nullable(Of SharedAccessProtocol), IPAddressOrRange)
Returns a shared access signature for the queue.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public string GetSharedAccessSignature( SharedAccessQueuePolicy policy, string accessPolicyIdentifier, Nullable<SharedAccessProtocol> protocols, IPAddressOrRange ipAddressOrRange )
C++
public:
String^ GetSharedAccessSignature(
SharedAccessQueuePolicy^ policy,
String^ accessPolicyIdentifier,
Nullable<SharedAccessProtocol> protocols,
IPAddressOrRange^ ipAddressOrRange
)
member GetSharedAccessSignature :
policy:SharedAccessQueuePolicy *
accessPolicyIdentifier:string *
protocols:Nullable<SharedAccessProtocol> *
ipAddressOrRange:IPAddressOrRange -> string
Public Function GetSharedAccessSignature ( policy As SharedAccessQueuePolicy, accessPolicyIdentifier As String, protocols As Nullable(Of SharedAccessProtocol), ipAddressOrRange As IPAddressOrRange ) As String
Parameters
- policy
-
Type:
Microsoft.WindowsAzure.Storage.Queue.SharedAccessQueuePolicyMicrosoft.WindowsAzure.Storage.Queue::SharedAccessQueuePolicy^Microsoft.WindowsAzure.Storage.Queue.SharedAccessQueuePolicyMicrosoft.WindowsAzure.Storage.Queue.SharedAccessQueuePolicy
A SharedAccessQueuePolicy object specifying the access policy for the shared access signature.
- accessPolicyIdentifier
-
Type:
System.StringSystem::String^System.StringSystem.String
A string identifying a stored access policy.
- protocols
-
Type:
System.Nullable<SharedAccessProtocol>System::Nullable<SharedAccessProtocol>System.Nullable<SharedAccessProtocol>System.Nullable(Of SharedAccessProtocol)
The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol.
- ipAddressOrRange
-
Type:
Microsoft.WindowsAzure.Storage.IPAddressOrRangeMicrosoft.WindowsAzure.Storage::IPAddressOrRange^Microsoft.WindowsAzure.Storage.IPAddressOrRangeMicrosoft.WindowsAzure.Storage.IPAddressOrRange
The allowed IP address or IP address range. Null if you don't want to restrict based on IP address.
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
CloudQueue Class
Microsoft.WindowsAzure.Storage.Queue Namespace