INetFwPolicy2::get_Rules method

Retrieves the collection of firewall rules.

This property is read-only.

Syntax

HRESULT get_Rules(
  INetFwRules **rules
);

Parameters

rules

Return Value

None

Requirements

   
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

INetFwPolicy2

INetFwRules