MSFT_NetFirewallRuleFilterByProtocolPort class

Filters a Windows firewall rule by protocol or port.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class MSFT_NetFirewallRuleFilterByProtocolPort : MSFT_NetFirewallRuleFilters
{
  MSFT_NetFirewallRule       REF GroupComponent;
  MSFT_NetProtocolPortFilter REF PartComponent;
};

Members

The MSFT_NetFirewallRuleFilterByProtocolPort class has these types of members:

Properties

The MSFT_NetFirewallRuleFilterByProtocolPort class has these properties.

GroupComponent

Data type: MSFT_NetFirewallRule

Access type: Read-only

Qualifiers: Key, Override

The firewall rule.

PartComponent

Data type: MSFT_NetProtocolPortFilter

Access type: Read-only

Qualifiers: Key, Override

The protocol/port filter applied to the rule.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\StandardCimv2
MOF
WFasCim.mof
DLL
WFasCim.dll