The INetFwServiceRestriction interface provides access to the Windows Service Hardening networking rules.
Methods
The INetFwServiceRestriction interface inherits the methods of the IDispatch interface.
In addition, INetFwServiceRestriction defines the following methods.
| Method | Description |
RestrictService |
Turns service restriction on or off for a given service.
|
ServiceRestricted |
Queries the service restriction state of a given service.
|
get_Rules |
Retrieves the collection of Windows Service Hardening network rules.
|
Properties
The INetFwServiceRestriction interface defines the following property.
| Property | Access type | Description |
Rules | Read-only | Retrieves the collection of Windows Service Hardening network rules
|
Requirements
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Header | Netfw.h |
| DLL | FirewallAPI.dll |
See Also
- IDispatch
- IUnknown
Send comments about this topic to Microsoft
Build date: 10/8/2009