IFirewallRuleOperations.DeleteAsync(String, String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string serverName, string ruleName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (serverName As String, ruleName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

serverName
String

The name of the Azure SQL Database Server that will have the Firewall Fule removed from it.

ruleName
String

The name of the Firewall Fule to delete.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to