Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

MethodDescription
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.

PropertyDescription

_NewEnum

Gives access to a new enumerator for the rules.

Count

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

Netfw.h

DLL

FirewallAPI.dll

See also

IDispatch
IUnknown

 

 

Community Additions

ADD
Show:
© 2015 Microsoft