INetFwPolicy2::get_ServiceRestriction method (netfw.h)

Retrieves the interface used to access the Windows Service Hardening store.

This property is read-only.

Syntax

HRESULT get_ServiceRestriction(
  INetFwServiceRestriction **ServiceRestriction
);

Parameters

ServiceRestriction

Return value

None

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

INetFwPolicy2

INetFwServiceRestriction