Share via


MockAdlsClient.SetPermissionAsync(String, String, CancellationToken) Method

Definition

Sets the permission string for the given path

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

Parameters

path
String

Path of file or directory

permission
String

Permission string

cancelToken
CancellationToken

Cancellation token

Returns

Applies to