IFirewallRuleOperations.ListAsync(String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleListResponse> ListAsync (string serverName, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleListResponse>
Public Function ListAsync (serverName As String, cancellationToken As CancellationToken) As Task(Of FirewallRuleListResponse)

Parameters

serverName
String

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

cancellationToken
CancellationToken

Cancellation token.

Returns

Contains the response from a request to List Firewall Rules.

Applies to