Export (0) Print
Expand All

INetFwServiceRestriction interface

The INetFwServiceRestriction interface provides access to the Windows Service Hardening networking rules.

Members

The INetFwServiceRestriction interface inherits from the IDispatch interface. INetFwServiceRestriction also has these types of members:

Methods

The INetFwServiceRestriction interface has these methods.

MethodDescription
get_Rules

Retrieves the collection of Windows Service Hardening network rules.

RestrictService

Turns service restriction on or off for a given service.

ServiceRestricted

Queries the service restriction state of a given service.

 

Properties

The INetFwServiceRestriction interface has these properties.

PropertyDescription

Rules

Retrieves the collection of Windows Service Hardening network rules

 

Remarks

When adding rules, note that there may be a small time lag before the newly-added rule is applied.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Netfw.h

DLL

FirewallAPI.dll

See also

IDispatch
IUnknown

 

 

Build date: 11/16/2013

Community Additions

ADD
Show:
© 2014 Microsoft