AdlsClient.SetOwnerAsync(String, String, String, CancellationToken) Method

Definition

Asynchronously sets the owner or/and group of the path

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

Parameters

path
System.String

Path of file or directory

owner
System.String

Owner ID

group
System.String

Group ID

cancelToken
System.Threading.CancellationToken

CancellationToken to cancel the request

Returns

System.Threading.Tasks.Task

Applies to