Share via


FirewallRuleOperationsExtensions.ListAsync Method (IFirewallRuleOperations, String)

 

Returns a list of server-level Firewall Rules for 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<FirewallRuleListResponse> ListAsync(
    this IFirewallRuleOperations operations,
    string serverName
)
public:
[ExtensionAttribute]
static Task<FirewallRuleListResponse^>^ ListAsync(
    IFirewallRuleOperations^ operations,
    String^ serverName
)
static member ListAsync : 
        operations:IFirewallRuleOperations *
        serverName:string -> Task<FirewallRuleListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
    operations As IFirewallRuleOperations,
    serverName As String
) As Task(Of FirewallRuleListResponse)

Parameters

  • serverName
    Type: System.String

    Required. The name of the Azure SQL Database Server from which to list the Firewall Rules.

Return Value

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

Contains the response from a request to List Firewall Rules.

See Also

FirewallRuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top