INetFwRule::get_InterfaceTypes method (netfw.h)

Specifies the list of interface types for which the rule applies.

This property is read/write.

Syntax

HRESULT get_InterfaceTypes(
  BSTR *interfaceTypes
);

Parameters

interfaceTypes

Return value

None

Remarks

This property is optional.

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

Acceptable values for this property are "RemoteAccess", "Wireless", "Lan", and "All". If more than one interface type is specified, the strings must be separated by a comma.

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

INetFwRule