Share via


FirewallRuleOperationsExtensions.Get Method

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

Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Usage

'Usage
Dim operations As IFirewallRuleOperations
Dim serverName As String
Dim ruleName As String
Dim returnValue As FirewallRuleGetResponse

returnValue = FirewallRuleOperationsExtensions.Get(operations, serverName, ruleName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Get ( _
    operations As IFirewallRuleOperations, _
    serverName As String, _
    ruleName As String _
) As FirewallRuleGetResponse
[ExtensionAttribute] 
public static FirewallRuleGetResponse Get (
    IFirewallRuleOperations operations,
    string serverName,
    string ruleName
)
[ExtensionAttribute] 
public:
static FirewallRuleGetResponse^ Get (
    IFirewallRuleOperations^ operations, 
    String^ serverName, 
    String^ ruleName
)
/** @attribute ExtensionAttribute() */ 
public static FirewallRuleGetResponse Get (
    IFirewallRuleOperations operations, 
    String serverName, 
    String ruleName
)
ExtensionAttribute 
public static function Get (
    operations : IFirewallRuleOperations, 
    serverName : String, 
    ruleName : String
) : FirewallRuleGetResponse

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
  • serverName
    Required. The name of the Azure SQL Database Server to query for the Firewall Rule.
  • ruleName
    Required. The name of the rule to retrieve.

Return Value

Contains the response from a request to Get Firewall Rule.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

FirewallRuleOperationsExtensions Class
FirewallRuleOperationsExtensions Members
Microsoft.WindowsAzure Namespace