CloudQueue.GetSharedAccessSignature Method (SharedAccessQueuePolicy, String)

Windows Runtime Azure Storage Client Library

Returns a shared access signature for the queue.

Namespace: Microsoft.WindowsAzure.Storage.Queue
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudQueue
Dim policy As SharedAccessQueuePolicy
Dim accessPolicyIdentifier As String
Dim returnValue As String

returnValue = instance.GetSharedAccessSignature(policy, accessPolicyIdentifier)

Syntax

Visual Basic
Public Function GetSharedAccessSignature ( _
	policy As SharedAccessQueuePolicy, _
	accessPolicyIdentifier As String _
) As String
C#
public string GetSharedAccessSignature (
	SharedAccessQueuePolicy policy,
	string accessPolicyIdentifier
)
C++
public:
String^ GetSharedAccessSignature (
	SharedAccessQueuePolicy^ policy, 
	String^ accessPolicyIdentifier
)
J#
public String GetSharedAccessSignature (
	SharedAccessQueuePolicy policy, 
	String accessPolicyIdentifier
)
JScript
public function GetSharedAccessSignature (
	policy : SharedAccessQueuePolicy, 
	accessPolicyIdentifier : String
) : String

Parameters

policy

A SharedAccessQueuePolicy object specifying the access policy for the shared access signature.

accessPolicyIdentifier

A string identifying a stored access policy.

Return Value

A shared access signature, as a URI query string.

Remarks

The query string returned includes the leading question mark.


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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also