INetFwRules interface
The INetFwRules interface provides a collection of firewall rules.
Members
The INetFwRules interface inherits from the IDispatch interface. INetFwRules also has these types of members:
Methods
The INetFwRules interface has these methods.
| Method | Description |
|---|---|
| Add |
Adds a new rule to the collection. |
| get__NewEnum |
Returns an object that can be used to enumerate the rules in the collection. |
| get_Count |
Returns the number of rules in the collection. |
| Item |
Retrieves a rule from the collection. |
| Remove |
Removes a specified rule from the collection. |
Properties
The INetFwRules interface has these properties.
| Property | Description |
|---|---|
|
Gives access to a new enumerator for the rules. | |
|
Access to the number of rules in the collection. |
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