INetFwRule::get_Interfaces method (netfw.h)

Specifies the list of interfaces for which the rule applies.

This property is read/write.

Syntax

HRESULT get_Interfaces(
  VARIANT *interfaces
);

Parameters

interfaces

Return value

None

Remarks

This property is optional. The interfaces in the list are represented by their friendly name.

Also see the restrictions on changing properties described in the Remarks section of the INetFwRule interface page.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netfw.h
DLL FirewallAPI.dll

See also

Adding a Per Interface Rule

INetFwRule