FirewallRuleOperationsExtensions.DeleteAsync Method

Deletes a server-level Firewall Rule from an Azure SQL Database Server.

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 Task(Of OperationResponse)

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

Syntax

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

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.
  • serverName
    Required. The name of the Azure SQL Database Server that will have the Firewall Fule removed from it.
  • ruleName
    Required. The name of the Firewall Fule to delete.

Return Value

Represents a standard service response including an HTTP status code and request ID.

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