FirewallRuleOperationsExtensions::CreateAsync Method (IFirewallRuleOperations^, String^, FirewallRuleCreateParameters^)

 

Adds a new 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)

public:
[ExtensionAttribute]
static Task<FirewallRuleCreateResponse^>^ CreateAsync(
	IFirewallRuleOperations^ operations,
	String^ serverName,
	FirewallRuleCreateParameters^ parameters
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Sql::IFirewallRuleOperations^

Reference to the Microsoft.WindowsAzure.Management.Sql.IFirewallRuleOperations.

serverName
Type: System::String^

Required. The name of the Azure SQL Database Server to which this rule will be applied.

parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models::FirewallRuleCreateParameters^

Required. The parameters for the Create Firewall Rule operation.

Return Value

Type: System.Threading.Tasks::Task<FirewallRuleCreateResponse^>^

Contains the response to a Create Firewall Rule operation.

Return to top
Show: