IFirewallRuleOperations.ListAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET