Udostępnij za pośrednictwem


FirewallRuleOperationsExtensions.ListAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleListResponse> ListAsync (this Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations operations, string serverName);
static member ListAsync : Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleListResponse>
<Extension()>
Public Function ListAsync (operations As IFirewallRuleOperations, serverName As String) As Task(Of FirewallRuleListResponse)

Parameters

operations
IFirewallRuleOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.

serverName
String

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

Returns

Contains the response from a request to List Firewall Rules.

Applies to