INetFwRules interface (netfw.h)
The INetFwRules interface provides a collection of firewall rules.
The INetFwRules interface inherits from the IDispatch interface. INetFwRules also has these types of members:
The INetFwRules interface has these methods.
The Add method adds a new rule to the collection.
Returns an object supporting IEnumVARIANT that can be used to iterate through all the rules in the collection.
Returns the number of rules in a collection.
The Item method returns the specified rule if it is in the collection.
The Remove method removes a rule from the collection.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|