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

AdlsClient.SetOwnerAsync(String, String, String, CancellationToken) 方法

定义

异步设置路径的所有者或/和组

public virtual System.Threading.Tasks.Task SetOwnerAsync(string path, string owner, string group, System.Threading.CancellationToken cancelToken = default);
abstract member SetOwnerAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetOwnerAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetOwnerAsync (path As String, owner As String, group As String, Optional cancelToken As CancellationToken = Nothing) As Task

参数

path
String

文件或目录的路径

owner
String

所有者 ID

group
String

组 ID

cancelToken
CancellationToken

取消取消请求的 CancellationToken

返回

适用于