Share via


FirewallRuleOperationsExtensions.Get 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 FirewallRuleGetResponse Get(
    this IFirewallRuleOperations operations,
    string serverName,
    string ruleName
)
public:
[ExtensionAttribute]
static FirewallRuleGetResponse^ Get(
    IFirewallRuleOperations^ operations,
    String^ serverName,
    String^ ruleName
)
static member Get : 
        operations:IFirewallRuleOperations *
        serverName:string *
        ruleName:string -> FirewallRuleGetResponse
<ExtensionAttribute>
Public Shared Function Get (
    operations As IFirewallRuleOperations,
    serverName As String,
    ruleName As String
) As FirewallRuleGetResponse

Parameters

  • serverName
    Type: System.String

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

  • ruleName
    Type: System.String

    Required. The name of the rule to retrieve.

Return Value

Type: Microsoft.WindowsAzure.Management.Sql.Models.FirewallRuleGetResponse

Contains the response from a request to Get Firewall Rule.

See Also

FirewallRuleOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top