Share via


ServiceObjectiveOperationsExtensions.ListAsync Method (IServiceObjectiveOperations, String)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Syntax

public static Task<ServiceObjectiveListResponse> ListAsync(
    this IServiceObjectiveOperations operations,
    string serverName
)
public:
[ExtensionAttribute]
static Task<ServiceObjectiveListResponse^>^ ListAsync(
    IServiceObjectiveOperations^ operations,
    String^ serverName
)
static member ListAsync : 
        operations:IServiceObjectiveOperations *
        serverName:string -> Task<ServiceObjectiveListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
    operations As IServiceObjectiveOperations,
    serverName As String
) As Task(Of ServiceObjectiveListResponse)

Parameters

  • serverName
    Type: System.String

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

Return Value

Type: System.Threading.Tasks.Task<ServiceObjectiveListResponse>

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

See Also

ServiceObjectiveOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top