Share via


CatalogOperationsExtensions.GetCredentialAsync Method

Definition

Retrieves the specified credential from the Data Lake Analytics catalog.

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

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 containing the schema.

credentialName
String

The name of the credential.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to