共用方式為


InvalidCloudFileShare.SetPermissionsAsync Method

Definition

Overloads

SetPermissionsAsync(FileSharePermissions)
SetPermissionsAsync(FileSharePermissions, CancellationToken)
SetPermissionsAsync(FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext)
SetPermissionsAsync(FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

SetPermissionsAsync(FileSharePermissions)

public override System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.File.FileSharePermissions permissions);
override this.SetPermissionsAsync : Microsoft.Azure.Storage.File.FileSharePermissions -> System.Threading.Tasks.Task
Public Overrides Function SetPermissionsAsync (permissions As FileSharePermissions) As Task

Parameters

permissions
FileSharePermissions

Returns

Applies to

SetPermissionsAsync(FileSharePermissions, CancellationToken)

public override System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.File.FileSharePermissions permissions, System.Threading.CancellationToken cancellationToken);
override this.SetPermissionsAsync : Microsoft.Azure.Storage.File.FileSharePermissions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SetPermissionsAsync (permissions As FileSharePermissions, cancellationToken As CancellationToken) As Task

Parameters

permissions
FileSharePermissions
cancellationToken
CancellationToken

Returns

Applies to

SetPermissionsAsync(FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext)

public override System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.File.FileSharePermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext);
override this.SetPermissionsAsync : Microsoft.Azure.Storage.File.FileSharePermissions * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overrides Function SetPermissionsAsync (permissions As FileSharePermissions, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext) As Task

Parameters

permissions
FileSharePermissions
accessCondition
AccessCondition
operationContext
OperationContext

Returns

Applies to

SetPermissionsAsync(FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext, CancellationToken)

public override System.Threading.Tasks.Task SetPermissionsAsync (Microsoft.Azure.Storage.File.FileSharePermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
override this.SetPermissionsAsync : Microsoft.Azure.Storage.File.FileSharePermissions * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SetPermissionsAsync (permissions As FileSharePermissions, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

Parameters

permissions
FileSharePermissions
accessCondition
AccessCondition
operationContext
OperationContext
cancellationToken
CancellationToken

Returns

Applies to