IStorageFileManagement.GetSharePermissionsAsync Method

Definition

Overloads

GetSharePermissionsAsync(CloudFileShare, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

Async get share permissions.

GetSharePermissionsAsync(CloudFileShare, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

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

accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to