Share via


ServiceObjectiveOperationsExtensions.GetAsync Method (IServiceObjectiveOperations, String, String)

 

Returns information about a certain Service Objective with a specific Id.

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

Syntax

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

Parameters

  • serverName
    Type: System.String

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

  • serviceObjectiveId
    Type: System.String

    Required. The Id of the Service Objective to be obtained.

Return Value

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

Response containing the service objective for a given Azure SQL Database Server with matching service objective Id.

See Also

ServiceObjectiveOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top