Sets permissions 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 permissions As QueuePermissions
Dim returnValue As IAsyncAction
returnValue = instance.SetPermissionsAsync(permissions) |
Syntax
Visual Basic |
---|
Public Function SetPermissionsAsync ( _
permissions As QueuePermissions _
) As IAsyncAction |
C# |
---|
public IAsyncAction SetPermissionsAsync (
QueuePermissions permissions
) |
C++ |
---|
public:
IAsyncAction^ SetPermissionsAsync (
QueuePermissions^ permissions
) |
J# |
---|
public IAsyncAction SetPermissionsAsync (
QueuePermissions permissions
) |
JScript |
---|
public function SetPermissionsAsync (
permissions : QueuePermissions
) : IAsyncAction |
Parameters
- permissions
The permissions to apply to the queue.
Return Value
An
IAsyncAction that represents an asynchronous action.
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