IStorageFileManagement.GetSharePermissionsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetSharePermissionsAsync(CloudFileShare, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)
Async get share permissions.
public System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileSharePermissions> GetSharePermissionsAsync (Microsoft.Azure.Storage.File.CloudFileShare share, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetSharePermissionsAsync : Microsoft.Azure.Storage.File.CloudFileShare * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Storage.File.FileSharePermissions>
Public Function GetSharePermissionsAsync (share As CloudFileShare, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of FileSharePermissions)
Parameters
- share
- CloudFileShare
A CloudFileShare instance.
- accessCondition
- AccessCondition
Access condition
- options
- FileRequestOptions
File request options
- operationContext
- OperationContext
Operation context
- cancellationToken
- CancellationToken
User cancellation token
Returns
A task object which retrieve the permission of the specified container
Applies to
GetSharePermissionsAsync(CloudFileShare, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.FileSharePermissions> GetSharePermissionsAsync (Microsoft.WindowsAzure.Storage.File.CloudFileShare share, Microsoft.WindowsAzure.Storage.AccessCondition accessCondition, Microsoft.WindowsAzure.Storage.File.FileRequestOptions options, Microsoft.WindowsAzure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
abstract member GetSharePermissionsAsync : Microsoft.WindowsAzure.Storage.File.CloudFileShare * Microsoft.WindowsAzure.Storage.AccessCondition * Microsoft.WindowsAzure.Storage.File.FileRequestOptions * Microsoft.WindowsAzure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Storage.File.FileSharePermissions>
Public Function GetSharePermissionsAsync (share As CloudFileShare, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task(Of FileSharePermissions)
Parameters
- share
- CloudFileShare
- accessCondition
- AccessCondition
- options
- FileRequestOptions
- operationContext
- OperationContext
- cancellationToken
- CancellationToken