Share via


QuotaOperationsExtensions.GetAsync Method

Retrieves the specified quota from the server.

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

Usage

'Usage
Dim operations As IQuotaOperations
Dim serverName As String
Dim quotaName As String
Dim returnValue As Task(Of QuotaGetResponse)

returnValue = QuotaOperationsExtensions.GetAsync(operations, serverName, quotaName)

Syntax

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

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IQuotaOperations.
  • serverName
    Required. The name of the Azure SQL Database Server from which to retrieve the quota.
  • quotaName
    Required. The name of the quota to retrieve.

Return Value

Represents the response structure for the Quota Get operation.

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

QuotaOperationsExtensions Class
QuotaOperationsExtensions Members
Microsoft.WindowsAzure.Management.Sql Namespace