DatabaseOperationsExtensions.GetUsagesAsync Method

Definition

Returns information about an Azure SQL Database usages.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUsagesListResponse> GetUsagesAsync (this Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations operations, string serverName, string databaseName);
static member GetUsagesAsync : Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseUsagesListResponse>
<Extension()>
Public Function GetUsagesAsync (operations As IDatabaseOperations, serverName As String, databaseName As String) As Task(Of DatabaseUsagesListResponse)

Parameters

operations
IDatabaseOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.

serverName
String

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

databaseName
String

Required. The name of the Azure SQL Database.

Returns

Contains the response to a Get Database Usages request.

Applies to