Returns a shared access signature for the table.
Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim instance As CloudTable
Dim policy As SharedAccessTablePolicy
Dim accessPolicyIdentifier As String
Dim returnValue As String
returnValue = instance.GetSharedAccessSignature(policy, accessPolicyIdentifier) |
Syntax
Visual Basic |
---|
Public Function GetSharedAccessSignature ( _
policy As SharedAccessTablePolicy, _
accessPolicyIdentifier As String _
) As String |
C# |
---|
public string GetSharedAccessSignature (
SharedAccessTablePolicy policy,
string accessPolicyIdentifier
) |
C++ |
---|
public:
String^ GetSharedAccessSignature (
SharedAccessTablePolicy^ policy,
String^ accessPolicyIdentifier
) |
J# |
---|
public String GetSharedAccessSignature (
SharedAccessTablePolicy policy,
String accessPolicyIdentifier
) |
JScript |
---|
public function GetSharedAccessSignature (
policy : SharedAccessTablePolicy,
accessPolicyIdentifier : String
) : String |
Parameters
- policy
A SharedAccessTablePolicy 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.
Exceptions
Exception type | Condition |
---|
InvalidOperationException | Thrown if the current credentials don't support creating a shared access signature. |
Remarks
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
See Also