Share via


FirewallRuleOperationsExtensions.ListAsync Method

Returns a list of server-level Firewall Rules for an Azure SQL Database Server.

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

Usage

'Usage
Dim operations As IFirewallRuleOperations
Dim serverName As String
Dim returnValue As Task(Of FirewallRuleListResponse)

returnValue = FirewallRuleOperationsExtensions.ListAsync(operations, serverName)

Syntax

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

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
  • serverName
    Required. The name of the Azure SQL Database Server from which to list the Firewall Rules.

Return Value

Contains the response from a request to List Firewall Rules.

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

FirewallRuleOperationsExtensions Class
FirewallRuleOperationsExtensions Members
Microsoft.WindowsAzure Namespace