MSFT_NetFirewallRuleFilterByService class

Filters a Windows firewall rule by Windows service.

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

Syntax

class MSFT_NetFirewallRuleFilterByService : MSFT_NetFirewallRuleFilters
{
  MSFT_NetFirewallRule  REF GroupComponent;
  MSFT_NetServiceFilter REF PartComponent;
};

Members

The MSFT_NetFirewallRuleFilterByService class has these types of members:

Properties

The MSFT_NetFirewallRuleFilterByService class has these properties.

GroupComponent

Data type: MSFT_NetFirewallRule

Access type: Read-only

Qualifiers: Key, Override

The firewall rule.

PartComponent

Data type: MSFT_NetServiceFilter

Access type: Read-only

Qualifiers: Key, Override

The service 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