你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MockAdlsClient.SetPermissionAsync(String, String, CancellationToken) 方法

定义

设置给定路径的权限字符串

public override System.Threading.Tasks.Task SetPermissionAsync (string path, string permission, System.Threading.CancellationToken cancelToken = default);
override this.SetPermissionAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overrides Function SetPermissionAsync (path As String, permission As String, Optional cancelToken As CancellationToken = Nothing) As Task

参数

path
String

文件或目录的路径

permission
String

权限字符串

cancelToken
CancellationToken

取消令牌

返回

适用于