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.
| Method | Description |
|---|---|
| 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.
| Property | Description |
|---|---|
|
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 |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012