Udostępnij za pośrednictwem


IServiceObjectiveOperations.ListAsync(String, CancellationToken) Method

Definition

Returns information about all Service Objectives on an Azure SQL Database Server.

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

Parameters

serverName
String

The name of the Azure SQL Database Server to be queried.

cancellationToken
CancellationToken

Cancellation token.

Returns

Response containing the list of service objective for a given server. This is returnedfrom a call to List Service Objectives.

Applies to