ServiceObjectiveOperationsExtensions.GetAsync Method

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

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

Usage

'Usage
Dim operations As IServiceObjectiveOperations
Dim serverName As String
Dim serviceObjectiveId As String
Dim returnValue As Task(Of ServiceObjectiveGetResponse)

returnValue = ServiceObjectiveOperationsExtensions.GetAsync(operations, serverName, serviceObjectiveId)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
    operations As IServiceObjectiveOperations, _
    serverName As String, _
    serviceObjectiveId As String _
) As Task(Of ServiceObjectiveGetResponse)
[ExtensionAttribute] 
public static Task<ServiceObjectiveGetResponse> GetAsync (
    IServiceObjectiveOperations operations,
    string serverName,
    string serviceObjectiveId
)
[ExtensionAttribute] 
public:
static Task<ServiceObjectiveGetResponse^>^ GetAsync (
    IServiceObjectiveOperations^ operations, 
    String^ serverName, 
    String^ serviceObjectiveId
)
/** @attribute ExtensionAttribute() */ 
public static Task<ServiceObjectiveGetResponse> GetAsync (
    IServiceObjectiveOperations operations, 
    String serverName, 
    String serviceObjectiveId
)
ExtensionAttribute 
public static function GetAsync (
    operations : IServiceObjectiveOperations, 
    serverName : String, 
    serviceObjectiveId : String
) : Task<ServiceObjectiveGetResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IServiceObjectiveOperations.
  • serverName
    Required. The name of the Azure SQL Database Server to be queried.
  • serviceObjectiveId
    Required. The Id of the Service Objective to be obtained.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ServiceObjectiveOperationsExtensions Class
ServiceObjectiveOperationsExtensions Members
Microsoft.WindowsAzure Namespace