IFirewallRuleOperations.ListAsync Method (String, CancellationToken)
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
Task<FirewallRuleListResponse> ListAsync(
string serverName,
CancellationToken cancellationToken
)
Task<FirewallRuleListResponse^>^ ListAsync(
String^ serverName,
CancellationToken cancellationToken
)
abstract ListAsync :
serverName:string *
cancellationToken:CancellationToken -> Task<FirewallRuleListResponse>
Function ListAsync (
serverName As String,
cancellationToken As CancellationToken
) As Task(Of FirewallRuleListResponse)
Parameters
serverName
Type: System.StringThe name of the Azure SQL Database Server from which to list the Firewall Rules.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<FirewallRuleListResponse>
Contains the response from a request to List Firewall Rules.
See Also
IFirewallRuleOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top