IDatabaseOperations.GetUsagesAsync(String, String, CancellationToken) Method

Definition

Returns information about an Azure SQL Database usages.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUsagesListResponse> GetUsagesAsync (string serverName, string databaseName, System.Threading.CancellationToken cancellationToken);
abstract member GetUsagesAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUsagesListResponse>
Public Function GetUsagesAsync (serverName As String, databaseName As String, cancellationToken As CancellationToken) As Task(Of DatabaseUsagesListResponse)

Parameters

serverName
String

The name of the Azure SQL Database Server on which the database is hosted.

databaseName
String

The name of the Azure SQL Database.

cancellationToken
CancellationToken

Cancellation token.

Returns

Contains the response to a Get Database Usages request.

Applies to