Delen via


IRecommendedElasticPoolBeta.GetDatabaseAsync Method

Definition

Get a specific database in the recommended database.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase> GetDatabaseAsync (string databaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatabaseAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.Fluent.ISqlDatabase>
Public Function GetDatabaseAsync (databaseName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISqlDatabase)

Parameters

databaseName
String

Name of the database to be fetched.

cancellationToken
CancellationToken

Returns

Applies to