Partager via


SqlServer.UpdateStages.WithFirewallRule Interface

public static interface SqlServer.UpdateStages.WithFirewallRule

The stage of the SQL Server update definition allowing to specify the SQL Firewall rules.

Method Summary

Modifier and Type Method and Description
abstract Blank<> defineFirewallRule(String firewallRuleName)

Begins the definition of a new SQL Firewall rule to be added to this server.

abstract Update withoutFirewallRule(String firewallRuleName)

Removes firewall rule from the SQL Server.

Method Details

defineFirewallRule

public abstract SqlFirewallRule.DefinitionStages.Blank defineFirewallRule(String firewallRuleName)

Begins the definition of a new SQL Firewall rule to be added to this server.

Parameters:

firewallRuleName - the name of the new SQL Firewall rule

Returns:

the first stage of the new SQL Firewall rule definition

withoutFirewallRule

public abstract SqlServer.Update withoutFirewallRule(String firewallRuleName)

Removes firewall rule from the SQL Server.

Parameters:

firewallRuleName - name of the firewall rule to be removed

Returns:

Next stage of the SQL Server update

Applies to