MockAdlsClient.SetPermissionAsync(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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