FirewallRuleOperationsExtensions.Create Method

Adds a new server-level Firewall Rule for an Azure SQL Database Server.

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

'Usage
Dim operations As IFirewallRuleOperations
Dim serverName As String
Dim parameters As FirewallRuleCreateParameters
Dim returnValue As FirewallRuleCreateResponse

returnValue = FirewallRuleOperationsExtensions.Create(operations, serverName, parameters)

[ExtensionAttribute] 
public static FirewallRuleCreateResponse Create (
	IFirewallRuleOperations operations,
	string serverName,
	FirewallRuleCreateParameters parameters
)
/** @attribute ExtensionAttribute() */ 
public static FirewallRuleCreateResponse Create (
	IFirewallRuleOperations operations, 
	String serverName, 
	FirewallRuleCreateParameters parameters
)
ExtensionAttribute 
public static function Create (
	operations : IFirewallRuleOperations, 
	serverName : String, 
	parameters : FirewallRuleCreateParameters
) : FirewallRuleCreateResponse

Parameters

operations

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

serverName

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

parameters

Required. The parameters for the Create Firewall Rule operation.

Return Value

Contains the response to a Create Firewall Rule operation.

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

Development Platforms

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

Target Platforms

Show: