CatalogOperationsExtensions.GetDatabaseAsync Method

Definition

Retrieves the specified database from the Data Lake Analytics catalog.

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

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.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to