Share via


FirewallRuleOperationsExtensions.Update Method

Updates an existing server-level Firewall Rule for an Azure SQL Database Server.

Namespace: Microsoft.WindowsAzure.Management.Sql
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 parameters As FirewallRuleUpdateParameters
Dim returnValue As FirewallRuleUpdateResponse

returnValue = FirewallRuleOperationsExtensions.Update(operations, serverName, ruleName, parameters)

Syntax

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

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
  • serverName
    Required. The name of the Azure SQL Database Server that has the Firewall Rule to be updated.
  • ruleName
    Required. The name of the Firewall Rule to be updated.
  • parameters
    Required. The parameters for the Update Firewall Rule operation.

Return Value

Represents the firewall rule update response.

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.Management.Sql Namespace