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

 

 

Build date: 11/16/2013

Community Additions

ADD
Show:
© 2014 Microsoft