C#C++F#VB
CloudFileShare.::..SetPermissionsAsync Method (FileSharePermissions)(FileSharePermissions^)(FileSharePermissions)(FileSharePermissions)
Initiates an asynchronous operation that sets permissions for the share.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task SetPermissionsAsync( FileSharePermissions permissions )
C++
public: [DoesServiceRequestAttribute] virtual Task^ SetPermissionsAsync( FileSharePermissions^ permissions )
[<DoesServiceRequestAttribute>] abstract SetPermissionsAsync : permissions:FileSharePermissions -> Task [<DoesServiceRequestAttribute>] override SetPermissionsAsync : permissions:FileSharePermissions -> Task
<DoesServiceRequestAttribute> Public Overridable Function SetPermissionsAsync ( permissions As FileSharePermissions ) As Task
Parameters
- permissions
-
Type:
Microsoft.WindowsAzure.Storage.File.FileSharePermissionsMicrosoft.WindowsAzure.Storage.File::FileSharePermissions^Microsoft.WindowsAzure.Storage.File.FileSharePermissionsMicrosoft.WindowsAzure.Storage.File.FileSharePermissions
The permissions to apply to the share.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
See Also
SetPermissionsAsync Overload
CloudFileShare Class
Microsoft.WindowsAzure.Storage.File Namespace