IDatabaseOperations.ListAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a collection of Azure SQL Databases.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseListResponse> ListAsync (string serverName, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseListResponse>
Public Function ListAsync (serverName As String, cancellationToken As CancellationToken) As Task(Of DatabaseListResponse)
Parameters
- serverName
- String
The name of the Azure SQL Database Server from which to retrieve the database.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Contains a collection of databases for a given Azure SQL Database Server.