다음을 통해 공유


CatalogOperationsExtensions.GrantAclToDatabaseAsync Method

Definition

Grants an access control list (ACL) entry to the database from the Data Lake Analytics catalog.

public static System.Threading.Tasks.Task GrantAclToDatabaseAsync (this Microsoft.Azure.Management.DataLake.Analytics.ICatalogOperations operations, string accountName, string databaseName, Microsoft.Azure.Management.DataLake.Analytics.Models.AclCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member GrantAclToDatabaseAsync : Microsoft.Azure.Management.DataLake.Analytics.ICatalogOperations * string * string * Microsoft.Azure.Management.DataLake.Analytics.Models.AclCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function GrantAclToDatabaseAsync (operations As ICatalogOperations, accountName As String, databaseName As String, parameters As AclCreateOrUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
ICatalogOperations

The operations group for this extension method.

accountName
String

The Azure Data Lake Analytics account upon which to execute catalog operations.

databaseName
String

The name of the database.

parameters
AclCreateOrUpdateParameters

Parameters supplied to create or update an access control list (ACL) entry for a database.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to