FirewallRuleOperationsExtensions.GetAsync Method

Definition

Returns the Firewall rule for an Azure SQL Database Server with a matching name.

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

Parameters

operations
IFirewallRuleOperations

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

serverName
String

Required. The name of the Azure SQL Database Server to query for the Firewall Rule.

ruleName
String

Required. The name of the rule to retrieve.

Returns

Contains the response from a request to Get Firewall Rule.

Applies to