Partager via


EnableFirewallGroup method of the PS_RemoteAccessLocal class

This method enables the firewall group.

Syntax

uint32 EnableFirewallGroup(
  [in] string  FirewallGroupName,
  [in] boolean bEnable
);

Parameters

FirewallGroupName [in]

Name of the Firewall Rule group to Enable/Disable.

bEnable [in]

Boolean to indicate whether to Enable or Disable the Firewall Rule Group

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess\server
MOF
RAServerPSProvider.mof
DLL
RAServerPSProvider.dll

See also

PS_RemoteAccessLocal