다음을 통해 공유


FileSystemOperationsExtensions.CheckAccessAsync Method

Definition

Checks if the specified access is available at the given path.

public static System.Threading.Tasks.Task CheckAccessAsync (this Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations operations, string accountName, string path, string fsaction, System.Threading.CancellationToken cancellationToken = default);
static member CheckAccessAsync : Microsoft.Azure.Management.DataLake.Store.IFileSystemOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function CheckAccessAsync (operations As IFileSystemOperations, accountName As String, path As String, fsaction As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IFileSystemOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Store account to execute filesystem operations on.

path
String

The Data Lake Store path (starting with '/') of the file or directory for which to check access.

fsaction
String

File system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}'

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to