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

MockAdlsClient.SetOwnerAsync 方法

定义

设置路径的所有者和组

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

参数

path
String

文件或目录的路径

owner
String

所有者 guid

group
String

组 guid

cancelToken
CancellationToken

取消令牌

返回

适用于