FirewallRuleOperationsExtensions.GetAsync Method (IFirewallRuleOperations, String, String)
Returns the Firewall rule for an Azure SQL Database Server with a matching name.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Syntax
public static Task<FirewallRuleGetResponse> GetAsync(
this IFirewallRuleOperations operations,
string serverName,
string ruleName
)
public:
[ExtensionAttribute]
static Task<FirewallRuleGetResponse^>^ GetAsync(
IFirewallRuleOperations^ operations,
String^ serverName,
String^ ruleName
)
static member GetAsync :
operations:IFirewallRuleOperations *
serverName:string *
ruleName:string -> Task<FirewallRuleGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
operations As IFirewallRuleOperations,
serverName As String,
ruleName As String
) As Task(Of FirewallRuleGetResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperationsReference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
serverName
Type: System.StringRequired. The name of the Azure SQL Database Server to query for the Firewall Rule.
ruleName
Type: System.StringRequired. The name of the rule to retrieve.
Return Value
Type: System.Threading.Tasks.Task<FirewallRuleGetResponse>
Contains the response from a request to Get Firewall Rule.
See Also
FirewallRuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top